mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 13:22:31 +01:00 
			
		
		
		
	on_each_tap_fn is called on tap down and tap up
This commit is contained in:
		
							parent
							
								
									d8a979b6d5
								
							
						
					
					
						commit
						d5daec2a58
					
				| @ -70,6 +70,7 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) { | ||||
| 
 | ||||
|   switch(keycode) { | ||||
|   case QK_TAP_DANCE ... QK_TAP_DANCE_MAX: | ||||
|     process_tap_dance_action_on_each_tap (qk_tap_dance_state.keycode); | ||||
|     if (qk_tap_dance_state.keycode && qk_tap_dance_state.keycode != keycode) { | ||||
|       process_tap_dance_action_on_dance_finished (qk_tap_dance_state.keycode); | ||||
|     } else { | ||||
| @ -80,7 +81,6 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) { | ||||
|       qk_tap_dance_state.keycode = keycode; | ||||
|       qk_tap_dance_state.timer = timer_read (); | ||||
|       qk_tap_dance_state.count++; | ||||
|       process_tap_dance_action_on_each_tap (qk_tap_dance_state.keycode); | ||||
|     } | ||||
|     break; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pavlos Vinieratos
						Pavlos Vinieratos