- 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
22 lines
485 B
C
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
|