diff options
Diffstat (limited to 'keyboards/latincompass/latinpadble/latinpadble.c')
-rw-r--r-- | keyboards/latincompass/latinpadble/latinpadble.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/latincompass/latinpadble/latinpadble.c b/keyboards/latincompass/latinpadble/latinpadble.c index c40c3ff734..cce96241b6 100644 --- a/keyboards/latincompass/latinpadble/latinpadble.c +++ b/keyboards/latincompass/latinpadble/latinpadble.c @@ -15,3 +15,12 @@ */ #include "latinpadble.h" +bool encoder_update_kb(uint8_t index, bool clockwise) { + if (!encoder_update_user(index, clockwise)) { return false; } + if (clockwise) { + tap_code(KC_PGDN); + } else { + tap_code(KC_PGUP); + } + return true; +} |