umouse_set_channel_pref
Set the mouse channel preference to AUTO, USB, or BLE at runtime; switching disconnects and re-detects the channel to resolve receiver conflicts or force Bluetooth.
Instructions
设置通道偏好(运行时可切,切换瞬间断开当前通道重新探测):AUTO=USB 优先静默转 BLE(默认);USB=仅 2.4G 接收器;BLE=仅蓝牙(接收器在位但鼠标切到蓝牙、USB 假在线时用它)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pref | Yes | ||
| device_id | No | 省略 = 作用于全部已连接设备 |