DeviceHaptics task

This commit is contained in:
galister
2025-12-24 17:27:02 +09:00
parent 1d6a0e4bde
commit 10191385e4
11 changed files with 80 additions and 11 deletions

View File

@@ -486,6 +486,15 @@ impl WayVRClient {
Ok(())
}
pub async fn fn_wlx_device_haptics(
client: WayVRClientMutex,
device: usize,
params: packet_client::WlxHapticsParams,
) -> anyhow::Result<()> {
send_only!(client, &PacketClient::WlxDeviceHaptics(device, params));
Ok(())
}
pub async fn fn_wlx_modify_panel(
client: WayVRClientMutex,
params: packet_client::WlxModifyPanelParams,

View File

@@ -85,4 +85,5 @@ pub enum PacketClient {
WlxHaptics(WlxHapticsParams),
WlxInputState(Serial),
WlxModifyPanel(WlxModifyPanelParams),
WlxDeviceHaptics(usize, WlxHapticsParams),
}