Expose the new API for controlling the LED display
This commit is contained in:
+16
-3
@@ -1,10 +1,23 @@
|
||||
#ifndef __LED_DISPLAY_H__
|
||||
#define __LED_DISPLAY_H__
|
||||
|
||||
#include "peripherals/led_driver.h"
|
||||
// Includes:
|
||||
|
||||
extern uint8_t LedDisplayBrightness;
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
void LedDisplay_SetLayerLed(uint8_t layerId);
|
||||
// Typedefs:
|
||||
|
||||
typedef enum {
|
||||
LedDisplayIcon_CapsLock,
|
||||
LedDisplayIcon_Agent,
|
||||
LedDisplayIcon_Adaptive,
|
||||
} led_display_icon_t;
|
||||
|
||||
// Functions:
|
||||
|
||||
void LedDisplay_SetText(uint8_t length, const char* text);
|
||||
void LedDisplay_SetLayer(uint8_t layerId);
|
||||
void LedDisplay_SetIcon(led_display_icon_t icon, bool isEnabled);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user