Add core/fallback encoder behaviour (#20320)
This commit is contained in:
@@ -77,15 +77,3 @@ bool oled_task_kb(void) {
|
||||
}
|
||||
|
||||
#endif // OLED_ENABLE
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
if (!encoder_update_user(index, clockwise)) return false;
|
||||
|
||||
tap_code(clockwise ? KC_VOLU : KC_VOLD);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif // ENCODER_ENABLE
|
||||
|
Reference in New Issue
Block a user