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.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#endif
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// required because lower/raise modifiers are redefined by colemak-dh
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
// tap dance key press termination interval
|
||||
#define TAPPING_TERM 250
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
/* Prevent stuck modifiers */
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
#define STARTUP_SONG SONG(PLANCK_SOUND)
|
||||
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
|
||||
/*
|
||||
* MIDI options
|
||||
*/
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#endif
|
||||
@@ -3,7 +3,6 @@
|
||||
#define CONFIG_USER_H
|
||||
#define TAPPING_TERM 200
|
||||
#include "../../config.h"
|
||||
#define PERMISSIVE_HOLD
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
#define PERMISSIVE_HOLD
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#define USB_MAX_POWER_CONSUMPTION 100
|
||||
#define ONESHOT_TAP_TOGGLE 2
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
#include "backlight.h"
|
||||
#endif
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
// Symbolic names for macro IDs.
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
|
||||
#define LEADER_TIMEOUT 300
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN B1
|
||||
|
||||
@@ -18,10 +18,11 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
|
||||
SWAP_HANDS_ENABLE = yes # Enable one-hand typing
|
||||
STENO_ENABLE = yes # Enable TX Bolt protocol for Stenography, requires VIRTSER and may not work with mouse keys
|
||||
LEADER_ENABLE = yes
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// required because lower/raise modifiers are redefined by colemak-dh
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
// tap dance key press termination interval
|
||||
#define TAPPING_TERM 250
|
||||
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// required because lower/raise modifiers are redefined by colemak-dh
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
// tap dance key press termination interval
|
||||
#define TAPPING_TERM 250
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#ifndef USERSPACE_CONFIG_H
|
||||
#define USERSPACE_CONFIG_H
|
||||
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
// #define STARTUP_SONG SONG(E1M1_DOOM)
|
||||
@@ -24,7 +23,6 @@
|
||||
#define FORCE_NKRO
|
||||
|
||||
#define LEADER_TIMEOUT 300
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#undef DEBOUNCE
|
||||
#define DEBOUNCE 0
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
#define STARTUP_SONG SONG(PLANCK_SOUND)
|
||||
#endif
|
||||
@@ -34,6 +32,6 @@
|
||||
|
||||
#define MOUSEKEY_WHEEL_DELAY 0
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 4
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 255
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 255
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// This is the personal keymap of Jeremy Cowgar (@jcowgar). It is written for the programmer.
|
||||
|
||||
// Configuration options
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#pragma message "You may need to add LAYOUT_planck_grid to your keymap layers - see default for an example"
|
||||
#include "planck.h"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
UNICODE_ENABLE = yes
|
||||
LEADER_ENABLE = yes
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef LAE3_KEYMAP_H
|
||||
#define LAE3_KEYMAP_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#endif
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "../../config.h"
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
// for the broken board
|
||||
#undef MATRIX_COL_PINS
|
||||
#define MATRIX_COL_PINS { F1, F0, B0, B2, F4, F5, F6, F7, D4, D6, B4, D7 }
|
||||
#define MATRIX_COL_PINS { F1, F0, B0, B2, F4, F5, F6, F7, D4, D6, B4, D7 }
|
||||
|
||||
@@ -20,7 +20,3 @@ rest of the symbols, mostly mapped with the ten key numbers.
|
||||
|
||||
The normal right shift key uses the `MT` macro to trigger Enter on tap and right
|
||||
shift when held.
|
||||
|
||||
This keymap sets the `PREVENT_STUCK_MODIFIERS` flag to avoid the occasional WTF
|
||||
moments when using a modifier keys and accidentally releasing them after moving
|
||||
to a new layer.
|
||||
|
||||
@@ -33,10 +33,9 @@
|
||||
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
#define PERMISSIVE_HOLD
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#define SUPER_DUPER_SOUND S__NOTE(_B1)
|
||||
|
||||
#define MOUSEKEY_DELAY 100
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#endif
|
||||
@@ -11,8 +11,6 @@
|
||||
/* skip bootmagic and eeconfig */
|
||||
#define BOOTMAGIC_KEY_SKIP KC_SPACE
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#define UNICODE_TYPE_DELAY 0
|
||||
|
||||
#define LAYOUT_DVORAK
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// required because lower/raise modifiers are redefined by colemak-dh
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
// tap dance key press termination interval
|
||||
#define TAPPING_TERM 250
|
||||
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
#define MUSIC_MASK (keycode != KC_NO)
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
/*
|
||||
* MIDI options
|
||||
*/
|
||||
@@ -41,4 +39,4 @@
|
||||
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||||
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
// #define STARTUP_SONG SONG(PLANCK_SOUND)
|
||||
#define STARTUP_SONG SONG(NO_SOUND)
|
||||
@@ -27,7 +25,7 @@
|
||||
/* enable basic MIDI features:
|
||||
- MIDI notes can be sent when in Music mode is on
|
||||
*/
|
||||
|
||||
|
||||
#define MIDI_BASIC
|
||||
|
||||
/* enable advanced MIDI features:
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||||
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
||||
|
||||
/* prevent the modifiers from being stuck, sacrificing some memory */
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
/* A larger buffer for the dynamic macros as this keymap is not taking
|
||||
* up that much memory.
|
||||
*/
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
//#define NO_ACTION_ONESHOT
|
||||
#define NO_ACTION_MACRO
|
||||
#define NO_ACTION_FUNCTION
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
//#define DYNAMIC_MACRO_ENABLE // Enable if you need to use the macro functionality
|
||||
//#define SPACE_CADET // Parenthesis on L/R shift
|
||||
|
||||
|
||||
@@ -50,9 +50,6 @@
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 6
|
||||
|
||||
/* Prevent modifiers from being stuck on after layer changes. */
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
//#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
||||
Reference in New Issue
Block a user