forked from mirrors/qmk_userspace
[Keyboard] Update encoder code for macro3 (#16005)
This commit is contained in:
parent
87c2f97def
commit
8f70adc0b6
4 changed files with 6 additions and 6 deletions
|
@ -10,9 +10,9 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
|
|||
if (!encoder_update_user(index, clockwise)) { return false; }
|
||||
if (index == 0) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_VOLU);
|
||||
tap_code_delay(KC_VOLU, 10);
|
||||
} else {
|
||||
tap_code(KC_VOLD);
|
||||
tap_code_delay(KC_VOLD, 10);
|
||||
}
|
||||
} else if (index == 1) {
|
||||
if (clockwise) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue