feat(bluetooth-hid): 支持经典蓝牙 HID 后端

This commit is contained in:
mofeng-git
2026-09-06 11:15:45 +08:00
parent 3014edffbb
commit 2c19208094
33 changed files with 2792 additions and 60 deletions

View File

@@ -91,6 +91,14 @@ pub fn create_router(state: Arc<AppState>) -> Router {
.route("/webrtc/close", post(handlers::webrtc_close_session))
// HID endpoints
.route("/hid/status", get(handlers::hid_status))
.route(
"/hid/bluetooth/adapters",
get(handlers::hid_bluetooth_adapters),
)
.route(
"/hid/bluetooth",
get(handlers::hid_bluetooth_status).post(handlers::hid_bluetooth_action),
)
.route(
"/hid/ch9329/descriptor",
get(handlers::hid_ch9329_descriptor),