diff options
Diffstat (limited to 'keyboards/draculad/keymaps/pimoroni/keymap.c')
| -rw-r--r-- | keyboards/draculad/keymaps/pimoroni/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/draculad/keymaps/pimoroni/keymap.c b/keyboards/draculad/keymaps/pimoroni/keymap.c index 1f57efb5d..87cbe3cd3 100644 --- a/keyboards/draculad/keymaps/pimoroni/keymap.c +++ b/keyboards/draculad/keymaps/pimoroni/keymap.c | |||
| @@ -295,7 +295,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record){ | |||
| 295 | return true; | 295 | return true; |
| 296 | } | 296 | } |
| 297 | #ifdef ENCODER_ENABLE | 297 | #ifdef ENCODER_ENABLE |
| 298 | void encoder_update_user(uint8_t index, bool clockwise) { | 298 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 299 | if (index == 0) { | 299 | if (index == 0) { |
| 300 | // Volume control | 300 | // Volume control |
| 301 | if (clockwise) { | 301 | if (clockwise) { |
| @@ -319,5 +319,6 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 319 | } | 319 | } |
| 320 | // I only have 2 encoders on the the pimoroni example board, just add else ifs for your other encoders... | 320 | // I only have 2 encoders on the the pimoroni example board, just add else ifs for your other encoders... |
| 321 | // the missing ones are encoder 1 on the right side and encoder 3 on the left side | 321 | // the missing ones are encoder 1 on the right side and encoder 3 on the left side |
| 322 | return true; | ||
| 322 | } | 323 | } |
| 323 | #endif | 324 | #endif |
