Added Grave Escape (#1391)
* added QK_GRAVE_ESC and KC_GESC * fixed name * Fixed keycode emnu * Removed layer check, added left and right GUI mod detection for OSX GUI+~
This commit is contained in:
		
							parent
							
								
									ff2b01da49
								
							
						
					
					
						commit
						98316ef017
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -104,6 +104,7 @@ enum quantum_keycodes {
 | 
			
		|||
    MAGIC_UNHOST_NKRO,
 | 
			
		||||
    MAGIC_UNSWAP_ALT_GUI,
 | 
			
		||||
    MAGIC_TOGGLE_NKRO,
 | 
			
		||||
    GRAVE_ESC,
 | 
			
		||||
 | 
			
		||||
    // Leader key
 | 
			
		||||
#ifndef DISABLE_LEADER
 | 
			
		||||
| 
						 | 
				
			
			@ -514,6 +515,8 @@ enum quantum_keycodes {
 | 
			
		|||
#define MACROTAP(kc) (kc | QK_MACRO | FUNC_TAP<<8)
 | 
			
		||||
#define MACRODOWN(...) (record->event.pressed ? MACRO(__VA_ARGS__) : MACRO_NONE)
 | 
			
		||||
 | 
			
		||||
#define KC_GESC GRAVE_ESC
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// L-ayer, T-ap - 256 keycode max, 16 layer max
 | 
			
		||||
#define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue