summaryrefslogtreecommitdiffstats
path: root/samples/hidraw/hid-example.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2020-11-26 09:39:34 +1100
committerJiri Kosina <jkosina@suse.cz>2020-11-27 15:44:21 +0100
commit6a0eaf5123e0e1223252b88cd5775f74105e27bd (patch)
tree8ef43ce4ed10f484a0a632686526f18a152f2f01 /samples/hidraw/hid-example.c
parent6b5542752605ccf2184f495fae518fac1d573226 (diff)
HID: Increase HID maximum report size to 16KB
Currently the maximum HID report size which can be buffered by the kernel is 8KB. This is sufficient for the vast majority of HID devices on the market, as most HID reports are fairly small. However, some unusual devices such as the Elgate Stream Deck exist which use a report size slightly over 8KB for the image data that is sent to the device. Reports these large cannot be buffered by the regular HID subsystem currently, thus the only way to use such device is to bypass the HID subsystem entirely. This increases the maximum HID report size to 16KB, which should cover all sanely designed HID devices. Signed-off-by: Dean Camera <dean@fourwalledcubicle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples/hidraw/hid-example.c')
0 files changed, 0 insertions, 0 deletions