mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-22 17:02:24 +02:00
add rgblight_update_hook()
This commit is contained in:
@@ -163,6 +163,18 @@ typedef union {
|
||||
};
|
||||
} rgblight_config_t;
|
||||
|
||||
typedef struct _rgblight_status_t {
|
||||
bool timer_enabled;
|
||||
// TODO: add animation syncronizing
|
||||
} rgblight_status_t;
|
||||
|
||||
#ifdef RGBLIGHT_SPLIT
|
||||
/* for split keyboard master side */
|
||||
void rgblight_update_hook(rgblight_config_t *config, rgblight_status_t *status, bool write_to_eeprom);
|
||||
/* for split keyboard slave side */
|
||||
void rgblight_update_sync(rgblight_config_t *config, rgblight_status_t *status, bool write_to_eeprom);
|
||||
#endif
|
||||
|
||||
void rgblight_init(void);
|
||||
void rgblight_increase(void);
|
||||
void rgblight_decrease(void);
|
||||
|
||||
Reference in New Issue
Block a user