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 /keyboards/contra | |
| 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 'keyboards/contra')
| -rwxr-xr-x | keyboards/contra/config.h | 4 | ||||
| -rw-r--r-- | keyboards/contra/keymaps/ryanm101/config.h | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/contra/config.h b/keyboards/contra/config.h index 85077ed46..c6bb374da 100755 --- a/keyboards/contra/config.h +++ b/keyboards/contra/config.h | |||
| @@ -43,10 +43,6 @@ | |||
| 43 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | 43 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ |
| 44 | ) | 44 | ) |
| 45 | 45 | ||
| 46 | /* prevent stuck modifiers */ | ||
| 47 | #define PREVENT_STUCK_MODIFIERS | ||
| 48 | |||
| 49 | |||
| 50 | #ifdef RGB_DI_PIN | 46 | #ifdef RGB_DI_PIN |
| 51 | #define RGBLIGHT_ANIMATIONS | 47 | #define RGBLIGHT_ANIMATIONS |
| 52 | #define RGBLED_NUM 0 | 48 | #define RGBLED_NUM 0 |
diff --git a/keyboards/contra/keymaps/ryanm101/config.h b/keyboards/contra/keymaps/ryanm101/config.h index 9a458b892..224a4a37d 100644 --- a/keyboards/contra/keymaps/ryanm101/config.h +++ b/keyboards/contra/keymaps/ryanm101/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #include "config_common.h" | 4 | #include "config_common.h" |
| 5 | 5 | ||
| 6 | #define PREVENT_STUCK_MODIFIERS | ||
| 7 | #define TAPPING_TERM 200 | 6 | #define TAPPING_TERM 200 |
| 8 | 7 | ||
| 9 | #ifdef AUDIO_ENABLE | 8 | #ifdef AUDIO_ENABLE |
| @@ -28,7 +27,7 @@ | |||
| 28 | /* enable basic MIDI features: | 27 | /* enable basic MIDI features: |
| 29 | - MIDI notes can be sent when in Music mode is on | 28 | - MIDI notes can be sent when in Music mode is on |
| 30 | */ | 29 | */ |
| 31 | 30 | ||
| 32 | #define MIDI_BASIC | 31 | #define MIDI_BASIC |
| 33 | 32 | ||
| 34 | /* enable advanced MIDI features: | 33 | /* enable advanced MIDI features: |
| @@ -42,4 +41,4 @@ | |||
| 42 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 41 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
| 43 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | 42 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 |
| 44 | 43 | ||
| 45 | #endif \ No newline at end of file | 44 | #endif |
