summaryrefslogtreecommitdiffstats
path: root/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nullbitsco/nibble/keymaps/iso/keymap.c')
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/iso/keymap.c8
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 7e78b1f638..214034ef8e 100644
--- a/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c
+++ b/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c
@@ -15,8 +15,10 @@
*/
#include QMK_KEYBOARD_H
-#define _MA 0
-#define _FN 1
+enum layer_names {
+ _MA,
+ _FN
+};
enum custom_keycodes {
KC_CUST = SAFE_RANGE,
@@ -103,7 +105,7 @@ void change_RGB(bool clockwise) {
}
}
-void encoder_update_kb(uint8_t index, bool clockwise) {
+void encoder_update_user(uint8_t index, bool clockwise) {
if (layer_state_is(1)) {
//change RGB settings
change_RGB(clockwise);