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 /tmk_core/common/action_layer.h | |
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 'tmk_core/common/action_layer.h')
-rw-r--r-- | tmk_core/common/action_layer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h index 72a6bd8f6..7bf116be2 100644 --- a/tmk_core/common/action_layer.h +++ b/tmk_core/common/action_layer.h | |||
@@ -88,7 +88,7 @@ uint32_t layer_state_set_kb(uint32_t state); | |||
88 | #endif | 88 | #endif |
89 | 89 | ||
90 | /* pressed actions cache */ | 90 | /* pressed actions cache */ |
91 | #if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) | 91 | #if !defined(NO_ACTION_LAYER) && !defined(STRICT_LAYER_RELEASE) |
92 | /* The number of bits needed to represent the layer number: log2(32). */ | 92 | /* The number of bits needed to represent the layer number: log2(32). */ |
93 | #define MAX_LAYER_BITS 5 | 93 | #define MAX_LAYER_BITS 5 |
94 | void update_source_layers_cache(keypos_t key, uint8_t layer); | 94 | void update_source_layers_cache(keypos_t key, uint8_t layer); |