[Keyboard] Update encoder code for macro3 (#16005)

This commit is contained in:
Albert Y 2022-03-08 12:09:54 +08:00 committed by GitHub
parent 87c2f97def
commit 8f70adc0b6
Failed to generate hash of commit
4 changed files with 6 additions and 6 deletions

View file

@ -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) {