Fixup latinpadble (#18736)
This commit is contained in:
parent
b5e26ccb94
commit
4b5ebb7248
6 changed files with 36 additions and 105 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue