fixup! lotus: Add RGB configuration for ANSI keymap
This commit is contained in:
parent
6f638fccf8
commit
34ed8e9d3b
@ -72,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// {0, CS1_SW1, CS2_SW1, CS3_SW1},
|
||||
//}
|
||||
|
||||
led_config_t g_led_config = {{
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{32, 73, 6, 85, 0, 30, 34, 78, 76, 81, 79, 0, 89, 80, 53, 0, },
|
||||
{0, 0, 0, 48, 95, 28, 36, 77, 82, 33, 0, 0, 35, 91, 54, 68, },
|
||||
@ -190,4 +190,4 @@ led_config_t g_led_config = {{
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
4
|
||||
}
|
||||
} };
|
||||
|
||||
@ -224,7 +224,7 @@ def normalize(layout):
|
||||
|
||||
# Turn the data to C code that can be used in QMK's keymap.c
|
||||
def print_matrix(layout, led_to_el, normalized):
|
||||
print("led_config_t g_led_config = {{")
|
||||
print("led_config_t g_led_config = { {")
|
||||
print(" // Key Matrix to LED Index")
|
||||
for row in led_to_el:
|
||||
print(" {", end='')
|
||||
@ -254,7 +254,7 @@ def print_matrix(layout, led_to_el, normalized):
|
||||
print(", ", end='')
|
||||
if (i + 1) % 16 == 0:
|
||||
print("\n ", end='')
|
||||
print("}")
|
||||
print("} };")
|
||||
|
||||
def main(data):
|
||||
# Normalize data and convert to C code
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user