opnsense-src/sys/dev/usb/input
Hans Petter Selasky d4028678f2 Improve USB gaming keyboard support.
Add support for decoding pressed keys as a bitmap. The keys in the
bitmap are described in the interface specific HID descriptor. Some
keyboards even have multiple input interfaces, only using the bitmap
method when the event array is full. That typically means when more
than seven keys are pressed simultaneously.

The internals of the USB keyboard driver have been slightly reworked
to keep track of all keys in a single bitmap having 256 bits. This
bitmap is then divided into blocks of 64-bits as an optimisation.

Simplify automatic key repeat logic, because only the last key pressed
can be repeated.

PR:	224592
PR:	233884
Tested by:	Alex V. Petrov <alexvpetrov@gmail.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
2020-02-13 16:03:12 +00:00
..
atp.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
uep.c usb: remove some extraneous tty.h includes 2019-12-01 03:56:18 +00:00
uhid.c wmt(4): Add PNP record so it could be picked by devd/devmatch. 2018-11-10 22:14:09 +00:00
uhid_snes.c Add new USB HID driver for Super Nintendo gamepads. 2018-05-15 15:36:34 +00:00
ukbd.c Improve USB gaming keyboard support. 2020-02-13 16:03:12 +00:00
ums.c usb: remove some extraneous tty.h includes 2019-12-01 03:56:18 +00:00
usb_rdesc.h Attempt to fix build by removing EOF backslash-newline 2018-05-16 03:17:37 +00:00
wmt.c wmt(4): Add PNP record so it could be picked by devd/devmatch. 2018-11-10 22:14:09 +00:00
wsp.c Add support for right and middle click with integrated button to WSP 2018-03-27 18:44:05 +00:00