CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/08/22 01:20:40
Modified files:
sys/dev/usb : ucc.c
Log message:
Since the raw keymap already has a capacity of holding all present keys,
use it as a lookup table using the bit as the index. Removes the need to
linearly scan the same keymap during handling of a key press, not that
performance matters here since the length of the keymap is small but the
code gets a bit simpler and one struct becomes redundant.
While here, fix two incorrect conditionals in ucc_parse_hid() which
compared two different quantities.