diff options
author | Joe Wasson <jwasson+github@gmail.com> | 2018-09-17 10:48:02 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-09-17 13:48:02 -0400 |
commit | 743449472e58651ec8111e6f70811103fb0a28bd (patch) | |
tree | bf8391fd9ba42ec08fa42fc867b20810cbe27d4f /quantum/quantum.c | |
parent | b65e2143751fd7c1721a6690597f523137c7c484 (diff) | |
download | qmk_firmware-743449472e58651ec8111e6f70811103fb0a28bd.tar.gz qmk_firmware-743449472e58651ec8111e6f70811103fb0a28bd.zip |
Make `PREVENT_STUCK_MODIFIERS` the default (#3107)
* Remove chording as it is not documented, not used, and needs work.
* Make Leader Key an optional feature.
* Switch from `PREVENT_STUCK_MODIFIERS` to `STRICT_LAYER_RELEASE`
* Remove `#define PREVENT_STUCK_MODIFIERS` from keymaps.
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 9d352a94c..9bf91eb86 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
@@ -196,7 +196,7 @@ bool process_record_quantum(keyrecord_t *record) { | |||
196 | keypos_t key = record->event.key; | 196 | keypos_t key = record->event.key; |
197 | uint16_t keycode; | 197 | uint16_t keycode; |
198 | 198 | ||
199 | #if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) | 199 | #if !defined(NO_ACTION_LAYER) && !defined(STRICT_LAYER_RELEASE) |
200 | /* TODO: Use store_or_get_action() or a similar function. */ | 200 | /* TODO: Use store_or_get_action() or a similar function. */ |
201 | if (!disable_action_cache) { | 201 | if (!disable_action_cache) { |
202 | uint8_t layer; | 202 | uint8_t layer; |
@@ -251,12 +251,9 @@ bool process_record_quantum(keyrecord_t *record) { | |||
251 | #ifdef TAP_DANCE_ENABLE | 251 | #ifdef TAP_DANCE_ENABLE |
252 | process_tap_dance(keycode, record) && | 252 | process_tap_dance(keycode, record) && |
253 | #endif | 253 | #endif |
254 | #ifndef DISABLE_LEADER | 254 | #ifdef LEADER_ENABLE |
255 | process_leader(keycode, record) && | 255 | process_leader(keycode, record) && |
256 | #endif | 256 | #endif |
257 | #ifndef DISABLE_CHORDING | ||
258 | process_chording(keycode, record) && | ||
259 | #endif | ||
260 | #ifdef COMBO_ENABLE | 257 | #ifdef COMBO_ENABLE |
261 | process_combo(keycode, record) && | 258 | process_combo(keycode, record) && |
262 | #endif | 259 | #endif |