1
0
Fork 0

Fix keyboards/keymaps for boolean encoder callback changes (#12985)

This commit is contained in:
Drashna Jael're 2021-05-27 21:30:47 -07:00 committed by GitHub
parent 5386c4c7b2
commit b963049305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 231 additions and 228 deletions

View file

@ -39,7 +39,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#ifdef ENCODER_ENABLE
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index != 0)
return;
return false;
tap_code(clockwise ? KC_VOLU : KC_VOLD);
return true;