Hans Petter Selasky 0ba490729b 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
MFC after:	3 days
Sponsored by:	Mellanox Technologies
2020-02-25 12:56:06 +00:00
..
2020-02-20 16:58:19 +00:00
2020-02-07 15:50:47 +00:00
2020-02-24 16:42:44 +00:00
2020-01-29 12:10:42 +00:00
2020-02-23 03:32:16 +00:00
2020-02-07 19:53:07 +00:00
2020-02-25 02:42:43 +00:00
2020-02-23 03:32:16 +00:00
2020-02-21 16:55:28 +00:00
2020-02-03 17:35:11 +00:00