Keymap introspection for combos. (#19670)
This commit is contained in:
		
							parent
							
								
									433dc60686
								
							
						
					
					
						commit
						5faa23d54c
					
				
					 226 changed files with 533 additions and 729 deletions
				
			
		| 
						 | 
				
			
			@ -16,6 +16,5 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifdef COMBO_ENABLE
 | 
			
		||||
#    define COMBO_COUNT 3
 | 
			
		||||
#    define COMBO_TERM 150
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -51,7 +51,7 @@ const uint16_t PROGMEM combo_tab[] = {KC_Q, KC_W, COMBO_END};
 | 
			
		|||
const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END};
 | 
			
		||||
const uint16_t PROGMEM combo_del[] = {KC_MINS, KC_EQL, COMBO_END};
 | 
			
		||||
 | 
			
		||||
combo_t key_combos[COMBO_COUNT] = {
 | 
			
		||||
combo_t key_combos[] = {
 | 
			
		||||
  [COMBO_TAB] = COMBO(combo_tab,KC_TAB),
 | 
			
		||||
  [COMBO_ESC] = COMBO(combo_esc,KC_ESC),
 | 
			
		||||
  [COMBO_DEL] = COMBO(combo_del,KC_DEL),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue