Fixed LED map indices
parent
43103a889a
commit
910eeda0e7
|
@ -36,17 +36,6 @@ enum layer_indices {
|
|||
LAYER_RUSSIAN_IDX,
|
||||
LAYER_RUSSIAN_SYMBOLS_IDX,
|
||||
};
|
||||
enum led_map_indices {
|
||||
LAYER_COLEMAK_LEDS_IDX,
|
||||
LAYER_NUMPAD_LEDS_IDX,
|
||||
LAYER_SYMBOLS_LEDS_IDX,
|
||||
LAYER_ARROWS_LEDS_IDX,
|
||||
LAYER_FKEYS_LEDS_IDX,
|
||||
LAYER_NAVIGATE_LEDS_IDX,
|
||||
LAYER_DESKTOP_LEDS_IDX,
|
||||
LAYER_RUSSIAN_LEDS_IDX,
|
||||
LAYER_RUSSIAN_SYMBOLS_LEDS_IDX,
|
||||
};
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[LAYER_MAIN_IDX] = LAYER_MAIN,
|
||||
[LAYER_COLEMAK_IDX] = LAYER_COLEMAK,
|
||||
|
@ -61,15 +50,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
[LAYER_RUSSIAN_SYMBOLS_IDX] = LAYER_RUSSIAN_SYMBOLS,
|
||||
};
|
||||
const uint8_t PROGMEM ledmap[][DRIVER_LED_TOTAL][3] = {
|
||||
[LAYER_COLEMAK_LEDS_IDX] = LAYER_COLEMAK_LEDS,
|
||||
[LAYER_NUMPAD_LEDS_IDX] = LAYER_NUMPAD_LEDS,
|
||||
[LAYER_SYMBOLS_LEDS_IDX] = LAYER_SYMBOLS_LEDS,
|
||||
[LAYER_ARROWS_LEDS_IDX] = LAYER_ARROWS_LEDS,
|
||||
[LAYER_FKEYS_LEDS_IDX] = LAYER_FKEYS_LEDS,
|
||||
[LAYER_NAVIGATE_LEDS_IDX] = LAYER_NAVIGATE_LEDS,
|
||||
[LAYER_DESKTOP_LEDS_IDX] = LAYER_DESKTOP_LEDS,
|
||||
[LAYER_RUSSIAN_LEDS_IDX] = LAYER_RUSSIAN_LEDS,
|
||||
[LAYER_RUSSIAN_SYMBOLS_LEDS_IDX] = LAYER_RUSSIAN_SYMBOLS_LEDS
|
||||
[LAYER_COLEMAK_IDX] = LAYER_COLEMAK_LEDS,
|
||||
[LAYER_NUMPAD_IDX] = LAYER_NUMPAD_LEDS,
|
||||
[LAYER_SYMBOLS_IDX] = LAYER_SYMBOLS_LEDS,
|
||||
[LAYER_ARROWS_IDX] = LAYER_ARROWS_LEDS,
|
||||
[LAYER_FKEYS_IDX] = LAYER_FKEYS_LEDS,
|
||||
[LAYER_NAVIGATE_IDX] = LAYER_NAVIGATE_LEDS,
|
||||
[LAYER_DESKTOP_IDX] = LAYER_DESKTOP_LEDS,
|
||||
[LAYER_RUSSIAN_IDX] = LAYER_RUSSIAN_LEDS,
|
||||
[LAYER_RUSSIAN_SYMBOLS_IDX] = LAYER_RUSSIAN_SYMBOLS_LEDS
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue