diff options
Diffstat (limited to 'keyboards/nullbitsco/nibble/keymaps/iso/keymap.c')
-rw-r--r-- | keyboards/nullbitsco/nibble/keymaps/iso/keymap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c b/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c index 7e78b1f63..214034ef8 100644 --- a/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c +++ b/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c | |||
@@ -15,8 +15,10 @@ | |||
15 | */ | 15 | */ |
16 | #include QMK_KEYBOARD_H | 16 | #include QMK_KEYBOARD_H |
17 | 17 | ||
18 | #define _MA 0 | 18 | enum layer_names { |
19 | #define _FN 1 | 19 | _MA, |
20 | _FN | ||
21 | }; | ||
20 | 22 | ||
21 | enum custom_keycodes { | 23 | enum custom_keycodes { |
22 | KC_CUST = SAFE_RANGE, | 24 | KC_CUST = SAFE_RANGE, |
@@ -103,7 +105,7 @@ void change_RGB(bool clockwise) { | |||
103 | } | 105 | } |
104 | } | 106 | } |
105 | 107 | ||
106 | void encoder_update_kb(uint8_t index, bool clockwise) { | 108 | void encoder_update_user(uint8_t index, bool clockwise) { |
107 | if (layer_state_is(1)) { | 109 | if (layer_state_is(1)) { |
108 | //change RGB settings | 110 | //change RGB settings |
109 | change_RGB(clockwise); | 111 | change_RGB(clockwise); |