/[base]
ViewVC logotype

Revision 358211


Jump to revision: Previous Next
Author: hselasky
Date: Fri Feb 21 08:30:34 2020 UTC (4 years, 4 months ago)
Changed paths: 2
Log Message:
MFC r357861 and r357898:
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>
Sponsored by:	Mellanox Technologies


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/sys/dev/usb/input/ukbd.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27