Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: fix autocentering of PID devices
When setting the autocentering of PID devices, PID_DIRECTION_ENABLE is not being explicitely set to 1. This results in autocentering working only on the vertical axis when this field is preset to 0. Fix that by setting it explicitely to 1 when preparing the set_effect report for autocentering spring effect. Signed-off-by: Diogo Kastrup <[email protected]> Signed-off-by: Anssi Hannula <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
- Loading branch information