[Keyboard] Updates to ZSA boards (#6513)
* Update Layer functions to use layer_state_t in ZSA Boards * Update Music Mask for ZSA boards Fixes an issue with the board getting stuck on Adjust layer when activating music mode * Add Support for SMART LED Toggle to Planck EZ * Add support for SMART LED toggle in Ergodox EZ * Ifdef swiss cheeze for Oryx Configurator * Documentation and updates * Add Oryx Keymap * Add option to configure the layers for the Layer Indicator * Update keymap with better examples * Make sure eeprom is initialized before reading from it * Force flush of LED matrix when suspending board This fixes an issue where the LEDs don't fully clear sometimes when the host system goes to sleep * Enable RGB Sleeping by default * Add clarification about planck ez led layer config
This commit is contained in:
		
							parent
							
								
									1c5b0cbbeb
								
							
						
					
					
						commit
						94efa18c28
					
				
					 12 changed files with 629 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,11 @@
 | 
			
		|||
#define MDIA 2 // media keys
 | 
			
		||||
 | 
			
		||||
enum custom_keycodes {
 | 
			
		||||
#ifdef ORYX_CONFIGURATOR
 | 
			
		||||
  EPRM = EZ_SAFE_RANGE,
 | 
			
		||||
#else
 | 
			
		||||
  EPRM = SAFE_RANGE,
 | 
			
		||||
#endif
 | 
			
		||||
  VRSN,
 | 
			
		||||
  RGB_SLD
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -164,7 +168,7 @@ void matrix_init_user(void) {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
// Runs whenever there is a layer state change.
 | 
			
		||||
uint32_t layer_state_set_user(uint32_t state) {
 | 
			
		||||
layer_state_t layer_state_set_user(layer_state_t state) {
 | 
			
		||||
  ergodox_board_led_off();
 | 
			
		||||
  ergodox_right_led_1_off();
 | 
			
		||||
  ergodox_right_led_2_off();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue