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:
		
							parent
							
								
									b65e214375
								
							
						
					
					
						commit
						743449472e
					
				
					 198 changed files with 91 additions and 599 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
#define PERMISSIVE_HOLD
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,6 @@
 | 
			
		|||
// actually sends Ctrl-x. That's bad.)
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT
 | 
			
		||||
#undef PERMISSIVE_HOLD
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
 | 
			
		||||
#ifdef TAPPING_TERM
 | 
			
		||||
#undef TAPPING_TERM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -43,7 +43,6 @@
 | 
			
		|||
// actually sends Ctrl-x. That's bad.)
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT
 | 
			
		||||
#undef  PERMISSIVE_HOLD
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
// #define TAPPING_FORCE_HOLD
 | 
			
		||||
//#define RETRO_TAPPING
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -64,8 +63,4 @@
 | 
			
		|||
#define NO_ACTION_MACRO
 | 
			
		||||
#define NO_ACTION_FUNCTION
 | 
			
		||||
 | 
			
		||||
#define DISABLE_LEADER
 | 
			
		||||
 | 
			
		||||
#define MACRO_TIMER 5
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,6 @@
 | 
			
		|||
 | 
			
		||||
//#define LEADER_TIMEOUT 300
 | 
			
		||||
//#define BACKLIGHT_BREATHING
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
//#define PERMISSIVE_HOLD
 | 
			
		||||
// #define QMK_KEYS_PER_SCAN 4
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -72,5 +71,5 @@
 | 
			
		|||
 | 
			
		||||
// Most tactile encoders have detents every 4 stages
 | 
			
		||||
#define ENCODER_RESOLUTION 4
 | 
			
		||||
                                
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,12 +6,6 @@
 | 
			
		|||
// https://docs.qmk.fm/reference/config-options#features-that-can-be-enabled
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
// Prevent modifiers from sticking when switching layers
 | 
			
		||||
// Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Behaviors That Can Be Configured
 | 
			
		||||
// https://docs.qmk.fm/reference/config-options#behaviors-that-can-be-configured
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
#ifndef USERSPACE_CONFIG_H
 | 
			
		||||
#define USERSPACE_CONFIG_H
 | 
			
		||||
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT
 | 
			
		||||
 | 
			
		||||
#define RESET_LAYER 15
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,6 @@
 | 
			
		|||
#ifndef USERSPACE_CONFIG_H
 | 
			
		||||
#define USERSPACE_CONFIG_H
 | 
			
		||||
 | 
			
		||||
#define PREVENT_STUCK_MODIFIERS
 | 
			
		||||
 | 
			
		||||
//TAPPING_TERM
 | 
			
		||||
#ifdef TAP_DANCE_ENABLE
 | 
			
		||||
#define TAPPING_TERM 200
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@
 | 
			
		|||
// actually sends Ctrl-x. That's bad.)
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT
 | 
			
		||||
#undef PERMISSIVE_HOLD
 | 
			
		||||
#undef PREVENT_STUCK_MODIFIERS
 | 
			
		||||
#define STRICT_LAYER_RELEASE
 | 
			
		||||
 | 
			
		||||
#define FORCE_NKRO
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue