pub async fn set_scroll_inversion(
backend: &dyn HidBackend,
route: &DeviceRoute,
inverted: bool,
) -> Result<(), WriteError>Expand description
Write the device’s native vertical-scroll inversion flag while preserving its current resolution. Enabling inversion selects native HID reporting; disabling it preserves the current reporting target so an unrelated host-side consumer does not lose diverted wheel events.
Returns WriteError::FeatureUnsupported when the device lacks 0x2121 or
reports that native inversion is not supported.