[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
|
@ -107,6 +107,25 @@ inline void ergodox_led_all_set(uint8_t n)
|
|||
ergodox_right_led_3_set(n);
|
||||
}
|
||||
|
||||
#ifdef ORYX_CONFIGURATOR
|
||||
enum ergodox_ez_keycodes {
|
||||
LED_LEVEL = SAFE_RANGE,
|
||||
TOGGLE_LAYER_COLOR,
|
||||
EZ_SAFE_RANGE,
|
||||
};
|
||||
#endif
|
||||
|
||||
typedef union {
|
||||
uint32_t raw;
|
||||
struct {
|
||||
uint8_t led_level :3;
|
||||
bool disable_layer_led :1;
|
||||
bool rgb_matrix_enable :1;
|
||||
};
|
||||
} keyboard_config_t;
|
||||
|
||||
extern keyboard_config_t keyboard_config;
|
||||
|
||||
/*
|
||||
* LEFT HAND: LINES 115-122
|
||||
* RIGHT HAND: LINES 124-131
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue