aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/raffle/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/raffle/keymap.c')
-rw-r--r--keyboards/planck/keymaps/raffle/keymap.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/planck/keymaps/raffle/keymap.c b/keyboards/planck/keymaps/raffle/keymap.c
index 0dbab3893..350a9166c 100644
--- a/keyboards/planck/keymaps/raffle/keymap.c
+++ b/keyboards/planck/keymaps/raffle/keymap.c
@@ -121,7 +121,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
121 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ 121 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
122), 122),
123 123
124/* Nav Layer 124/* Nav Layer
125 * ,-----------------------------------------------------------------------------------. 125 * ,-----------------------------------------------------------------------------------.
126 * | | | | | | | | PGUP | UP | PGDN | |KC_CAD| 126 * | | | | | | | | PGUP | UP | PGDN | |KC_CAD|
127 * |------+------+------+------+------+-------------+------+------+------+------+------| 127 * |------+------+------+------+------+-------------+------+------+------+------+------|
@@ -139,7 +139,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
139 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ 139 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
140), 140),
141 141
142/* DEV Layer 142/* DEV Layer
143 * ,-----------------------------------------------------------------------------------. 143 * ,-----------------------------------------------------------------------------------.
144 * | | | |R_CMLM| | | | | | | |KC_CAD| 144 * | | | |R_CMLM| | | | | | | |KC_CAD|
145 * |------+------+------+------+------+-------------+------+------+------+------+------| 145 * |------+------+------+------+------+-------------+------+------+------+------+------|
@@ -223,7 +223,7 @@ uint16_t muse_counter = 0;
223uint8_t muse_offset = 70; 223uint8_t muse_offset = 70;
224uint16_t muse_tempo = 50; 224uint16_t muse_tempo = 50;
225 225
226void encoder_update(bool clockwise) { 226bool encoder_update(bool clockwise) {
227 if (muse_mode) { 227 if (muse_mode) {
228 if (IS_LAYER_ON(_RAISE)) { 228 if (IS_LAYER_ON(_RAISE)) {
229 if (clockwise) { 229 if (clockwise) {
@@ -247,6 +247,7 @@ void encoder_update(bool clockwise) {
247 unregister_code(KC_PGUP); 247 unregister_code(KC_PGUP);
248 } 248 }
249 } 249 }
250 return true;
250} 251}
251 252
252void dip_update(uint8_t index, bool active) { 253void dip_update(uint8_t index, bool active) {
@@ -301,5 +302,3 @@ bool music_mask_user(uint16_t keycode) {
301 return true; 302 return true;
302 } 303 }
303} 304}
304
305