HomeFreeBSD

MFC r358310:

Description

MFC r358310:
Use hid_get_data_unsigned() instead of hid_get_data() when reading the
key-codes from the USB keyboard. Negative key-codes are currently skipped.

While at it use the bit size value provided by the HID location structure
instead of assuming a value of 8.

This fixes a regression issue after r357861.

Reported by: Minoru TANABE <kotanabe3@gmail.com>
PR: 224592
PR: 233884
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS358452: MFC r358310:
Branches
Unknown
Tags
Unknown