Fixed LED map indices

master
Mark 2022-02-06 19:50:28 -08:00
parent 43103a889a
commit 910eeda0e7
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 9 additions and 20 deletions

View File

@ -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
};