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