Migrate ACTION_LAYER_TAP_TOGGLEs to TT()
This commit is contained in:
		
							parent
							
								
									efef54032b
								
							
						
					
					
						commit
						545f95c8f4
					
				
					 81 changed files with 60 additions and 372 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,7 @@ enum custom_macros {
 | 
			
		|||
  R_POINT
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
  const uint16_t PROGMEM fn_actions[] = { //ACTION_LAYER_TAP_TOGGLE requires that number of taps be defined in *config.h* - default set to 5
 | 
			
		||||
  const uint16_t PROGMEM fn_actions[] = {
 | 
			
		||||
      [0] = ACTION_LAYER_TAP_KEY(_LOWER, KC_SPC),    //Hold for momentary Lower layer, Tap for Space,
 | 
			
		||||
      [1] = ACTION_LAYER_MOMENTARY(_MOUSE)           //Hold for momentary MOUSE
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -120,4 +120,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
      break;
 | 
			
		||||
  }
 | 
			
		||||
  return true;
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue