android_kernel_xiaomi_sm8350/drivers/hid
Diogo Kastrup 816cbfda8b 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>
2007-07-09 14:13:35 +02:00
..
usbhid HID: fix autocentering of PID devices 2007-07-09 14:13:35 +02:00
hid-core.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
hid-debug.c HID: hid-debug.c should #include <linux/hid-debug.h> 2007-03-01 09:52:42 +01:00
hid-input.c HID: support for Petalynx Maxter remote control 2007-07-09 14:13:33 +02:00
Kconfig HID: Use menuconfig objects 2007-07-09 14:13:30 +02:00
Makefile USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00