summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/stdio/vfscanf.c
diff options
context:
space:
mode:
authorkvik <kvik@a-b.xyz>2020-05-08 20:49:11 +0200
committerkvik <kvik@a-b.xyz>2020-05-08 20:49:11 +0200
commit758edf2b1448bcc461bc2f99eeaabad1a077351d (patch)
tree838b4f0bf0a388b7b0876b7fd234f37cb9e15297 /sys/src/ape/lib/ap/stdio/vfscanf.c
parent2c3e60d95b0beafa25845b401ed9996ebe8100fb (diff)
nusb/kb: add quirks for Elecom HUGE trackball
As said in the code comment: Elecom trackball report descriptor lies by omission, failing to mention all its buttons. We patch the descriptor with a correct count which lets us parse full reports. Tested with: Elecom HUGE (M-HT1DRBK, M-HT1URBK) The descriptor fixup is adapted from Linux kernel: drivers/hid/hid-elecom.c in which a more detailed account of why and how this works may be found. A followup change to nusb/kb will be needed to expose these additional events for potential remapping.
Diffstat (limited to 'sys/src/ape/lib/ap/stdio/vfscanf.c')
0 files changed, 0 insertions, 0 deletions