aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/pevecyan/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/pevecyan/keymap.c')
-rw-r--r--keyboards/planck/keymaps/pevecyan/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/pevecyan/keymap.c b/keyboards/planck/keymaps/pevecyan/keymap.c
index d2a0c8515..2391efebb 100644
--- a/keyboards/planck/keymaps/pevecyan/keymap.c
+++ b/keyboards/planck/keymaps/pevecyan/keymap.c
@@ -82,7 +82,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
82 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, SI_QUES, SI_ASTR, SI_GRV, SI_PLUS, _______, 82 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, SI_QUES, SI_ASTR, SI_GRV, SI_PLUS, _______,
83 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, SI_LABK, SI_RABK, KC_END, _______, 83 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, SI_LABK, SI_RABK, KC_END, _______,
84 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ 84 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
85), 85),
86 86
87/* Raise 87/* Raise
88 * ,-----------------------------------------------------------------------------------. 88 * ,-----------------------------------------------------------------------------------.
@@ -178,7 +178,7 @@ uint16_t muse_counter = 0;
178uint8_t muse_offset = 70; 178uint8_t muse_offset = 70;
179uint16_t muse_tempo = 50; 179uint16_t muse_tempo = 50;
180 180
181void encoder_update(bool clockwise) { 181bool encoder_update(bool clockwise) {
182 if (muse_mode) { 182 if (muse_mode) {
183 if (IS_LAYER_ON(_RAISE)) { 183 if (IS_LAYER_ON(_RAISE)) {
184 if (clockwise) { 184 if (clockwise) {
@@ -202,6 +202,7 @@ void encoder_update(bool clockwise) {
202 unregister_code(KC_PGUP); 202 unregister_code(KC_PGUP);
203 } 203 }
204 } 204 }
205 return true;
205} 206}
206 207
207void dip_update(uint8_t index, bool active) { 208void dip_update(uint8_t index, bool active) {