[Docs] Make Code Examples Consistent On Combo Page (#6078)
This commit is contained in:
		
							parent
							
								
									a63e2abc9c
								
							
						
					
					
						commit
						b2f7915994
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -29,6 +29,7 @@ enum combos {
 | 
			
		|||
  AB_ESC,
 | 
			
		||||
  JK_TAB
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM ab_combo[] = {KC_A, KC_B, COMBO_END};
 | 
			
		||||
const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -44,7 +45,7 @@ For a more complicated implementation, you can use the `process_combo_event` fun
 | 
			
		|||
enum combo_events {
 | 
			
		||||
  ZC_COPY,
 | 
			
		||||
  XV_PASTE
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM copy_combo[] = {KC_Z, KC_C, COMBO_END};
 | 
			
		||||
const uint16_t PROGMEM paste_combo[] = {KC_X, KC_V, COMBO_END};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue