mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Add TAP_CODE_DELAY to Mod-Tap (#9422)
This commit is contained in:
		
							parent
							
								
									29b4f83a1f
								
							
						
					
					
						commit
						03c790a0f2
					
				@ -364,6 +364,8 @@ void process_action(keyrecord_t *record, action_t action) {
 | 
				
			|||||||
                            dprint("MODS_TAP: Tap: unregister_code\n");
 | 
					                            dprint("MODS_TAP: Tap: unregister_code\n");
 | 
				
			||||||
                            if (action.layer_tap.code == KC_CAPS) {
 | 
					                            if (action.layer_tap.code == KC_CAPS) {
 | 
				
			||||||
                                wait_ms(TAP_HOLD_CAPS_DELAY);
 | 
					                                wait_ms(TAP_HOLD_CAPS_DELAY);
 | 
				
			||||||
 | 
					                            } else {
 | 
				
			||||||
 | 
					                                wait_ms(TAP_CODE_DELAY);
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                            unregister_code(action.key.code);
 | 
					                            unregister_code(action.key.code);
 | 
				
			||||||
                        } else {
 | 
					                        } else {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user