summaryrefslogtreecommitdiff
path: root/keyboards/ristretto
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2023-04-03 10:18:17 -0600
committerGitHub <noreply@github.com>2023-04-03 10:18:17 -0600
commit36ab0c0aaa613fe0946e10133315b071c0d87012 (patch)
treeac87fe394264e2b265ad3db376bb88a91d084898 /keyboards/ristretto
parent7e48a4e80f4c3975cf0aae68986c7ead2576dcf3 (diff)
Add core/fallback encoder behaviour (#20320)
Diffstat (limited to 'keyboards/ristretto')
-rw-r--r--keyboards/ristretto/ristretto.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/ristretto/ristretto.c b/keyboards/ristretto/ristretto.c
index b73e5043c3..d004b3dffe 100644
--- a/keyboards/ristretto/ristretto.c
+++ b/keyboards/ristretto/ristretto.c
@@ -23,18 +23,6 @@ enum layers {
23 _ADJUST 23 _ADJUST
24}; 24};
25 25
26bool encoder_update_kb(uint8_t index, bool clockwise) {
27 if (!encoder_update_user(index, clockwise)) { return false; }
28 if(index == 0) {
29 if (clockwise) {
30 tap_code(KC_VOLD);
31 } else {
32 tap_code(KC_VOLU);
33 }
34 }
35 return true;
36}
37
38#ifdef OLED_ENABLE 26#ifdef OLED_ENABLE
39oled_rotation_t oled_init_kb(oled_rotation_t rotation) { 27oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
40 return OLED_ROTATION_270; 28 return OLED_ROTATION_270;