[Core] Process all changed keys in one scan loop, deprecate QMK_KEYS_PER_SCAN (#15292)

This commit is contained in:
Stefan Kerkmann
2022-08-06 12:51:13 +02:00
committed by GitHub
parent e9f9f99a33
commit f27b617f36
96 changed files with 90 additions and 607 deletions

View File

@@ -20,8 +20,6 @@
// debounce settings
// remove these after getting a new keyboard
// #define DEBOUNCE 50
// #define QMK_KEYS_PER_SCAN 4
enum custom_keycodes {
PLACEHOLDER = SAFE_RANGE, // can always be here

View File

@@ -25,7 +25,6 @@
#define LEADER_TIMEOUT 1000
#define PERMISSIVE_HOLD
#define QMK_KEYS_PER_SCAN 4
#define DANCING_TERM 175
#define ONESHOT_TAP_TOGGLE 5

View File

@@ -2,13 +2,9 @@
#define KEYMAP_CONFIG_H
#define RGBLIGHT_SLEEP
#define RGBLIGHT_SLEEP
#ifndef QMK_KEYS_PER_SCAN
#define QMK_KEYS_PER_SCAN 4
#endif // !QMK_KEYS_PER_SCAN
#define IGNORE_MOD_TAP_INTERRUPT
#undef PERMISSIVE_HOLD

View File

@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USB_MAX_POWER_CONSUMPTION 500
#define QMK_KEYS_PER_SCAN 4
/* Set 0 if debouncing isn't needed */
#undef DEBOUNCE
#define DEBOUNCE 5