aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/jetpacktuxedo/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/jetpacktuxedo/keymap.c')
-rw-r--r--keyboards/planck/keymaps/jetpacktuxedo/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/jetpacktuxedo/keymap.c b/keyboards/planck/keymaps/jetpacktuxedo/keymap.c
index 7c73d0952..2e7d8e876 100644
--- a/keyboards/planck/keymaps/jetpacktuxedo/keymap.c
+++ b/keyboards/planck/keymaps/jetpacktuxedo/keymap.c
@@ -190,7 +190,7 @@ uint16_t muse_tempo = 20;
190 190
191extern float clicky_rand; 191extern float clicky_rand;
192 192
193bool encoder_update(bool clockwise) { 193bool encoder_update_user(uint8_t index, bool clockwise) {
194 if (is_clicky_on()) { 194 if (is_clicky_on()) {
195 if (IS_LAYER_ON(_RAISE)) { 195 if (IS_LAYER_ON(_RAISE)) {
196 if (clockwise) { 196 if (clockwise) {
@@ -241,7 +241,7 @@ bool encoder_update(bool clockwise) {
241 return true; 241 return true;
242} 242}
243 243
244void dip_update(uint8_t index, bool active) { 244bool dip_switch_update_user(uint8_t index, bool active) {
245 switch (index) { 245 switch (index) {
246 case 0: 246 case 0:
247 if (active) { 247 if (active) {
@@ -273,6 +273,7 @@ void dip_update(uint8_t index, bool active) {
273 clicky_off(); 273 clicky_off();
274 } 274 }
275 } 275 }
276 return true;
276} 277}
277 278
278void matrix_scan_user(void) { 279void matrix_scan_user(void) {