refactor adelais en ciel rev.2, mechlovin9 (#10930)

Co-authored-by: vuhopkep <boy9x0@gmail.com>
This commit is contained in:
mechlovin 2020-11-24 02:47:01 +07:00 committed by GitHub
parent 8eb943956e
commit 244fc284ce

View file

@ -47,9 +47,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void encoder_update_user(uint8_t index, bool clockwise) { void encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { if (index == 0) {
if (clockwise) { if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD); tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
} }
} }
else if (index == 1) { else if (index == 1) {