Skip to main content

set_smartshift

Function set_smartshift 

Source
pub async fn set_smartshift(
    backend: &dyn HidBackend,
    route: &DeviceRoute,
    status: SmartShiftStatus,
) -> Result<(), WriteError>
Expand description

Write a full SmartShift configuration to route. The values are volatile device state and should be re-applied after reconnect. Callers that mean to change one field should read the current SmartShiftStatus and update it.

FeatureUnsupported when the device exposes neither HID++ 0x2111 (MX Master 3 / 3S) nor the older 0x2110 (MX Master 2S).