Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of HOLD_ON_OTHER_KEY_PRESS_PER_KEY (#15741)
This commit is contained in:
		
							parent
							
								
									ca13734f91
								
							
						
					
					
						commit
						515dd18c28
					
				
					 42 changed files with 227 additions and 518 deletions
				
			
		| 
						 | 
				
			
			@ -33,7 +33,7 @@
 | 
			
		|||
// Tap-Hold Configs
 | 
			
		||||
#define TAPPING_TERM 180
 | 
			
		||||
#define PERMISSIVE_HOLD
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT_PER_KEY
 | 
			
		||||
#define HOLD_ON_OTHER_KEY_PRESS
 | 
			
		||||
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
 | 
			
		||||
#define QUICK_TAP_TERM 0
 | 
			
		||||
#define QUICK_TAP_TERM_PER_KEY
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -255,7 +255,7 @@ uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
        case ALT__A:
 | 
			
		||||
        case ALTSCLN:
 | 
			
		||||
| 
						 | 
				
			
			@ -272,7 +272,7 @@ bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
        case CTL__J:
 | 
			
		||||
        case CTL__T:
 | 
			
		||||
        case CTL__N:
 | 
			
		||||
            return true;
 | 
			
		||||
            return false;
 | 
			
		||||
        default:
 | 
			
		||||
            return false;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -118,7 +118,7 @@
 | 
			
		|||
 */
 | 
			
		||||
#define RETRO_TAPPING_PER_KEY             // Control Retro-Tap individually by key
 | 
			
		||||
#define QUICK_TAP_TERM_PER_KEY            // Control Quick-Tap individually by key
 | 
			
		||||
#define IGNORE_MOD_TAP_INTERRUPT_PER_KEY  // Control Mod-Tap-Interrupt individually by key
 | 
			
		||||
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY   // Control Hold-on-Other-Key-Press individually by key
 | 
			
		||||
#define PERMISSIVE_HOLD_PER_KEY           // Control Permissive-Hold individually by key
 | 
			
		||||
 | 
			
		||||
#define MK_KINETIC_SPEED  // Use kinetic acceleration for mouse-keys
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1369,9 +1369,11 @@ bool get_retro_tapping(uint16_t keycode, keyrecord_t* record) {
 | 
			
		|||
            return false;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
// Handles per-key configuration of Mod-Tap-Interrupt
 | 
			
		||||
bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t* record) {
 | 
			
		||||
// Handles per-key configuration of Hold-on-Other-Key-Press
 | 
			
		||||
bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t* record) {
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
        case QK_MOD_TAP ... QK_MOD_TAP_MAX:
 | 
			
		||||
            return true;
 | 
			
		||||
        default:
 | 
			
		||||
            return false;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue