aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/hvp/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/hvp/keymap.c')
-rw-r--r--keyboards/planck/keymaps/hvp/keymap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/hvp/keymap.c b/keyboards/planck/keymaps/hvp/keymap.c
index c9aa61981..1af3771ae 100644
--- a/keyboards/planck/keymaps/hvp/keymap.c
+++ b/keyboards/planck/keymaps/hvp/keymap.c
@@ -51,16 +51,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
51), 51),
52 52
53[_RAISE] = LAYOUT_planck_grid( /* Right */ 53[_RAISE] = LAYOUT_planck_grid( /* Right */
54 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, 54 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
55 KC_DEL, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, 55 KC_DEL, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
56 _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, 56 _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
57 _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END 57 _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
58), 58),
59 59
60[_LOWER] = LAYOUT_planck_grid( /* Left */ 60[_LOWER] = LAYOUT_planck_grid( /* Left */
61 KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_BSPC, 61 KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_BSPC,
62 KC_DEL, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_BSLS, 62 KC_DEL, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_BSLS,
63 _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_TILD, 63 _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_TILD,
64 _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END 64 _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
65), 65),
66 66
@@ -89,7 +89,7 @@ uint16_t muse_counter = 0;
89uint8_t muse_offset = 70; 89uint8_t muse_offset = 70;
90uint16_t muse_tempo = 50; 90uint16_t muse_tempo = 50;
91 91
92void encoder_update(bool clockwise) { 92bool encoder_update(bool clockwise) {
93 if (muse_mode) { 93 if (muse_mode) {
94 if (IS_LAYER_ON(_RAISE)) { 94 if (IS_LAYER_ON(_RAISE)) {
95 if (clockwise) { 95 if (clockwise) {
@@ -119,6 +119,7 @@ void encoder_update(bool clockwise) {
119 #endif 119 #endif
120 } 120 }
121 } 121 }
122 return true;
122} 123}
123 124
124void dip_switch_update_user(uint8_t index, bool active) { 125void dip_switch_update_user(uint8_t index, bool active) {