aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/nibble/keymaps/iso/keymap.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-02-09 14:59:41 +0000
committerQMK Bot <hello@qmk.fm>2021-02-09 14:59:41 +0000
commit9aed856d788a65eb6e58823d743679b4c102d695 (patch)
treea171bd446d6924393e62db0028f205ab78ff393a /keyboards/nullbitsco/nibble/keymaps/iso/keymap.c
parent39ed48f7a79d7d31545b3ecf80ae6ea5f6489c30 (diff)
parent4107856b70eb686d2e151254ca73adf522312c49 (diff)
downloadqmk_firmware-9aed856d788a65eb6e58823d743679b4c102d695.tar.gz
qmk_firmware-9aed856d788a65eb6e58823d743679b4c102d695.zip
Merge remote-tracking branch 'origin/master' into develop
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 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 18enum layer_names {
19#define _FN 1 19 _MA,
20 _FN
21};
20 22
21enum custom_keycodes { 23enum 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
106void encoder_update_kb(uint8_t index, bool clockwise) { 108void 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);