2021-08-24 08:28:26 +02:00
|
|
|
#ifdef OLED_ENABLE
|
2019-04-04 07:56:22 +02:00
|
|
|
|
2023-03-19 22:12:05 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
#include "action.h"
|
|
|
|
|
2020-01-13 19:06:40 +01:00
|
|
|
void render_logo(void);
|
2019-04-04 07:56:22 +02:00
|
|
|
void update_key_status(uint16_t keycode, keyrecord_t *record);
|
2020-01-13 19:06:40 +01:00
|
|
|
void render_key_status(void);
|
2019-04-04 07:56:22 +02:00
|
|
|
void update_lock_status(void);
|
2020-01-13 19:06:40 +01:00
|
|
|
void render_lock_status(void);
|
2019-04-04 07:56:22 +02:00
|
|
|
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LOGO() render_logo()
|
2019-04-04 07:56:22 +02:00
|
|
|
#define UPDATE_KEY_STATUS(a, b) update_key_status(a, b)
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_KEY_STATUS() render_key_status()
|
2019-04-04 07:56:22 +02:00
|
|
|
#define UPDATE_LOCK_STATUS() update_lock_status()
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LOCK_STATUS() render_lock_status()
|
2019-04-04 07:56:22 +02:00
|
|
|
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
|
|
void update_led_status(void);
|
2020-01-13 19:06:40 +01:00
|
|
|
void render_led_status(void);
|
2019-04-04 07:56:22 +02:00
|
|
|
#define UPDATE_LED_STATUS() update_led_status()
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LED_STATUS() render_led_status()
|
2019-04-04 07:56:22 +02:00
|
|
|
#else
|
|
|
|
#define UPDATE_LED_STATUS()
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LED_STATUS()
|
2019-04-04 07:56:22 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LOGO()
|
2019-04-04 07:56:22 +02:00
|
|
|
#define UPDATE_KEY_STATUS(a, b)
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_KEY_STATUS()
|
2019-04-04 07:56:22 +02:00
|
|
|
#define UPDATE_LOCK_STATUS()
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LOCK_STATUS()
|
2019-04-04 07:56:22 +02:00
|
|
|
#define UPDATE_LED_STATUS()
|
2020-01-13 19:06:40 +01:00
|
|
|
#define RENDER_LED_STATUS()
|
2019-04-04 07:56:22 +02:00
|
|
|
|
|
|
|
#endif
|