1
0
Fork 0

Fixup latinpadble (#18736)

This commit is contained in:
jack 2022-10-15 16:24:26 -06:00 committed by GitHub
parent b5e26ccb94
commit 4b5ebb7248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 105 deletions

View file

@ -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;
}