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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/pevecyan/keymap.c b/keyboards/planck/keymaps/pevecyan/keymap.c
index 25643b244..553dd84a5 100644
--- a/keyboards/planck/keymaps/pevecyan/keymap.c
+++ b/keyboards/planck/keymaps/pevecyan/keymap.c
@@ -132,7 +132,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
132 * | | | | | | | | | | | | 132 * | | | | | | | | | | | |
133 * `-----------------------------------------------------------------------------------' 133 * `-----------------------------------------------------------------------------------'
134 */ 134 */
135[_ALTGR] = LAYOUT_planck_grid(k 135[_ALTGR] = LAYOUT_planck_grid(
136 _______, SI_BSLS, SI_PIPE, SI_EURO, _______, _______, _______, _______, _______, _______, _______, _______, 136 _______, SI_BSLS, SI_PIPE, SI_EURO, _______, _______, _______, _______, _______, _______, _______, _______,
137 _______, _______, _______, _______, SI_LBRC, SI_RBRC, _______, _______, _______, _______, _______, _______, 137 _______, _______, _______, _______, SI_LBRC, SI_RBRC, _______, _______, _______, _______, _______, _______,
138 _______, _______, _______, _______, SI_AT, SI_LCBR, SI_RCBR, _______, SI_LABK, SI_RABK, _______, _______, 138 _______, _______, _______, _______, SI_AT, SI_LCBR, SI_RCBR, _______, SI_LABK, SI_RABK, _______, _______,
@@ -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
181bool encoder_update(bool clockwise) { 181bool encoder_update_user(uint8_t index, 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) {
@@ -205,7 +205,7 @@ bool encoder_update(bool clockwise) {
205 return true; 205 return true;
206} 206}
207 207
208void dip_update(uint8_t index, bool active) { 208bool dip_switch_update_user(uint8_t index, bool active) {
209 switch (index) { 209 switch (index) {
210 case 0: 210 case 0:
211 if (active) { 211 if (active) {
@@ -230,6 +230,7 @@ void dip_update(uint8_t index, bool active) {
230 #endif 230 #endif
231 } 231 }
232 } 232 }
233 return true;
233} 234}
234 235
235void matrix_scan_user(void) { 236void matrix_scan_user(void) {