Searched hist:"816 cbfda8b5113629707f604660204701e93b7ce" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hid/usbhid/ |
H A D | hid-pidff.c | diff 816cbfda8b5113629707f604660204701e93b7ce Tue Jun 19 07:16:15 CDT 2007 Diogo Kastrup <dk@bighost.com.br> 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 <dk@bighost.com.br> Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|