Add ability to use tap macros without using functions
This commit is contained in:
		
							parent
							
								
									87bc36253d
								
							
						
					
					
						commit
						cfc4149712
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -246,6 +246,7 @@ enum quantum_keycodes {
 | 
			
		|||
 | 
			
		||||
#define M(kc) (kc | QK_MACRO)
 | 
			
		||||
 | 
			
		||||
#define MACROTAP(kc) (kc | QK_MACRO | FUNC_TAP<<8)
 | 
			
		||||
#define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE)
 | 
			
		||||
 | 
			
		||||
// L-ayer, T-ap - 256 keycode max, 16 layer max
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue