pub async fn set_pointer_scaling(
backend: &dyn HidBackend,
route: &DeviceRoute,
scaling: PointerScaling,
) -> Result<PointerScaling, WriteError>Expand description
Write a pointer-motion scaling and return the value the device reports afterwards.
The returned read-back is the applied value: the spec lets firmware clip
the request, though some devices store any non-zero value unchanged, so a
caller exposing this to users must bound scaling itself.