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.
The tunable torque is written only when it differs from the device’s current level and the device advertises tunable torque; otherwise the device keeps its own value.
FeatureUnsupported when the device exposes neither HID++ 0x2111
(MX Master 3 / 3S) nor the older 0x2110 (MX Master 2S).