mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-02 06:22:43 +00:00
Add encoder update user
This commit is contained in:
parent
ce1605ed07
commit
60cef34a36
@ -5,7 +5,9 @@
|
|||||||
|
|
||||||
#ifdef ENCODER_ENABLE
|
#ifdef ENCODER_ENABLE
|
||||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||||
|
if (!encoder_update_user(index, clockwise)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
// Volume control
|
// Volume control
|
||||||
if (clockwise) {
|
if (clockwise) {
|
||||||
|
Loading…
Reference in New Issue
Block a user