Files
RemoteMapper-ESP32/include/led_indicator.h
T
cuicuiV5 57e6e30578 chore(savepoint): rollback to stable LED and UAC state
- Implemented LED indicator feature (24 brightness)

- Migrated UAC microphone to hardware xfer_cb (fixed endpoint collision)

- Rolled back ATVV strict 0x03 check to prevent infinite ping-pong loop

- Rolled back HOGP keyboard release to fix modifier sticky keys

- Rolled back Volume keys to TAP with repeat to preserve stability
2026-08-29 23:40:59 +08:00

22 lines
485 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
LED_STATE_WAIT_CONNECTION = 0, // Red solid
LED_STATE_CONNECTED, // Green solid
LED_STATE_MIC_STREAMING, // Blue solid
LED_STATE_HID_KEY_PRESS, // Yellow flash
LED_STATE_MIC_KEY_PRESS // Red flash
} led_state_t;
void led_indicator_init(void);
void led_indicator_set(led_state_t state);
void led_indicator_trigger_key(bool is_voice_key);
#ifdef __cplusplus
}
#endif