Skip to main content

toggle_smartshift

Function toggle_smartshift 

Source
pub async fn toggle_smartshift(
    route: &DeviceRoute,
) -> Result<SmartShiftMode, WriteError>
Expand description

Toggle SmartShift mode (free ↔ ratchet) on route. Reads the current mode first, then writes the opposite — keeps current sensitivity. Returns the new mode written.

FeatureUnsupported when the device exposes neither HID++ 0x2111 (MX Master 3 / 3S) nor the older 0x2110 (MX Master 2S) — i.e. it has no SmartShift wheel.