]> 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)
commit8f8a1e31ec80d9f96e6701482e3b66c0b704ed21
tree24eba935f0b52b2f2540de6ef626bae364027a6c
parent22dd2c702979c653ce7bec13cb31314b3bb87b38
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