]> git.baikalelectronics.ru Git - kernel.git/commit
HID: usbhid: extend polling interval configuration to joysticks
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Sat, 25 Feb 2017 19:27:27 +0000 (20:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Mar 2017 13:25:03 +0000 (14:25 +0100)
commit60d86023690d0501e8470d50fb8dda59cc1f7eda
tree24eba935f0b52b2f2540de6ef626bae364027a6c
parentfbf45e024b1d9662ec16b097e74fb1de4df848c2
HID: usbhid: extend polling interval configuration to joysticks

For mouse devices we can currently change the polling interval
via usbhid.mousepoll. Implement the same thing for joysticks, so
users can reduce input latency this way.

This has been tested with a Logitech RumblePad 2 with jspoll=2,
resulting in a polling rate of 500Hz (verified with evhz).

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/admin-guide/kernel-parameters.txt
drivers/hid/usbhid/hid-core.c