diff options
| author | jack | 2023-04-03 18:18:17 +0200 |
|---|---|---|
| committer | GitHub | 2023-04-03 18:18:17 +0200 |
| commit | 36ab0c0aaa613fe0946e10133315b071c0d87012 (patch) | |
| tree | ac87fe394264e2b265ad3db376bb88a91d084898 /keyboards/rotr | |
| parent | 7e48a4e80f4c3975cf0aae68986c7ead2576dcf3 (diff) | |
Add core/fallback encoder behaviour (#20320)
Diffstat (limited to 'keyboards/rotr')
| -rw-r--r-- | keyboards/rotr/rotr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/keyboards/rotr/rotr.c b/keyboards/rotr/rotr.c index b7c551075d..8df10909f6 100644 --- a/keyboards/rotr/rotr.c +++ b/keyboards/rotr/rotr.c @@ -1,11 +1 @@ #include "rotr.h" - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) return false; - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - return true; -} |