2020-01-14 00:06:40 +06:00
|
|
|
#ifdef OLED_DRIVER_ENABLE
|
2019-04-04 11:56:22 +06:00
|
|
|
|
2020-01-14 00:06:40 +06:00
|
|
|
void render_logo(void);
|
2019-04-04 11:56:22 +06:00
|
|
|
void update_key_status(uint16_t keycode, keyrecord_t *record);
|
2020-01-14 00:06:40 +06:00
|
|
|
void render_key_status(void);
|
2019-04-04 11:56:22 +06:00
|
|
|
void update_lock_status(void);
|
2020-01-14 00:06:40 +06:00
|
|
|
void render_lock_status(void);
|
2019-04-04 11:56:22 +06:00
|
|
|
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LOGO() render_logo()
|
2019-04-04 11:56:22 +06:00
|
|
|
#define UPDATE_KEY_STATUS(a, b) update_key_status(a, b)
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_KEY_STATUS() render_key_status()
|
2019-04-04 11:56:22 +06:00
|
|
|
#define UPDATE_LOCK_STATUS() update_lock_status()
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LOCK_STATUS() render_lock_status()
|
2019-04-04 11:56:22 +06:00
|
|
|
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
|
|
void update_led_status(void);
|
2020-01-14 00:06:40 +06:00
|
|
|
void render_led_status(void);
|
2019-04-04 11:56:22 +06:00
|
|
|
#define UPDATE_LED_STATUS() update_led_status()
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LED_STATUS() render_led_status()
|
2019-04-04 11:56:22 +06:00
|
|
|
#else
|
|
|
|
#define UPDATE_LED_STATUS()
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LED_STATUS()
|
2019-04-04 11:56:22 +06:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LOGO()
|
2019-04-04 11:56:22 +06:00
|
|
|
#define UPDATE_KEY_STATUS(a, b)
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_KEY_STATUS()
|
2019-04-04 11:56:22 +06:00
|
|
|
#define UPDATE_LOCK_STATUS()
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LOCK_STATUS()
|
2019-04-04 11:56:22 +06:00
|
|
|
#define UPDATE_LED_STATUS()
|
2020-01-14 00:06:40 +06:00
|
|
|
#define RENDER_LED_STATUS()
|
2019-04-04 11:56:22 +06:00
|
|
|
|
|
|
|
#endif
|