diff options
Diffstat (limited to 'keyboards/pearlboards')
| -rw-r--r-- | keyboards/pearlboards/pandora/keymaps/default/keymap.c | 3 | ||||
| -rw-r--r-- | keyboards/pearlboards/pandora/keymaps/via/keymap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/pearlboards/pandora/keymaps/default/keymap.c b/keyboards/pearlboards/pandora/keymaps/default/keymap.c index 1fd9fcfb4..879ea04a1 100644 --- a/keyboards/pearlboards/pandora/keymaps/default/keymap.c +++ b/keyboards/pearlboards/pandora/keymaps/default/keymap.c | |||
| @@ -71,7 +71,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
| 71 | return true; | 71 | return true; |
| 72 | } | 72 | } |
| 73 | // Encoder click function | 73 | // Encoder click function |
| 74 | void dip_switch_update_user(uint8_t index, bool active) { | 74 | bool dip_switch_update_user(uint8_t index, bool active) { |
| 75 | switch (index) { | 75 | switch (index) { |
| 76 | /* First encoder */ | 76 | /* First encoder */ |
| 77 | case 0: | 77 | case 0: |
| @@ -80,4 +80,5 @@ void dip_switch_update_user(uint8_t index, bool active) { | |||
| 80 | } | 80 | } |
| 81 | break; | 81 | break; |
| 82 | } | 82 | } |
| 83 | return true; | ||
| 83 | } | 84 | } |
diff --git a/keyboards/pearlboards/pandora/keymaps/via/keymap.c b/keyboards/pearlboards/pandora/keymaps/via/keymap.c index 01f9ef8f4..55bbff967 100644 --- a/keyboards/pearlboards/pandora/keymaps/via/keymap.c +++ b/keyboards/pearlboards/pandora/keymaps/via/keymap.c | |||
| @@ -85,7 +85,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
| 85 | return true; | 85 | return true; |
| 86 | } | 86 | } |
| 87 | // Encoder click function | 87 | // Encoder click function |
| 88 | void dip_switch_update_user(uint8_t index, bool active) { | 88 | bool dip_switch_update_user(uint8_t index, bool active) { |
| 89 | switch (index) { | 89 | switch (index) { |
| 90 | /* First encoder */ | 90 | /* First encoder */ |
| 91 | case 0: | 91 | case 0: |
| @@ -94,4 +94,5 @@ void dip_switch_update_user(uint8_t index, bool active) { | |||
| 94 | } | 94 | } |
| 95 | break; | 95 | break; |
| 96 | } | 96 | } |
| 97 | return true; | ||
| 97 | } | 98 | } |
