GMMK Pro: fix unintended volume encoder taps (#17129)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2021 Andre Brait
|
||||
/* Copyright 2022 Andre Brait
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@@ -102,17 +102,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_VOLU);
|
||||
} else {
|
||||
tap_code(KC_VOLD);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif // ENCODER_ENABLE
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
#define RGB_CONFIRMATION_BLINKING_TIME 2000 // 2 seconds
|
||||
|
@@ -8,8 +8,6 @@ The differences are as follows:
|
||||
- Dedicated MacOS and Windows/Linux layers
|
||||
- Switching between them by pressing Fn + CAPS LOCK
|
||||
- Disabled Mouse Keys (to fix issues with KVM switches and also because they're not used here anyway)
|
||||
- Short DEBOUNCE time (5 ms)
|
||||
- Per-key debounce algorithm (sym_defer_pk)
|
||||
- RGB turns off after 20 minutes of inactivity
|
||||
- RGB turns off when USB is suspended
|
||||
- Layer 0:
|
||||
|
@@ -1,6 +1,4 @@
|
||||
# Enable additional features.
|
||||
|
||||
DEBOUNCE_TYPE = sym_defer_pk
|
||||
|
||||
# Disabling MouseKey because it breaks my KVM switch
|
||||
MOUSEKEY_ENABLE = no
|
||||
|
Reference in New Issue
Block a user