summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-nti.c
AgeCommit message (Collapse)AuthorFilesLines
2017-03-06HID: Add quirk driver for NTI USB-SUN adapterJonathan Tomer1-0/+59
These adapters allow pre-USB Sun keyboards to be connected to USB-only machines, but include the wrong maximum keycode in their report descriptor, making most of the keys present on Sun keyboards but not 101-key PC keyboards nonfunctional. This patch implements a quirk that overrides the maximum keycode in the report descriptor. Signed-off-by: Jonathan Tomer <jktomer@google.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>