[Midnightbsd-cvs] [MidnightBSD/src] 7e58ba: Use hid_get_data_unsigned() instead of hid_get_dat...

Lucas Holt noreply at github.com
Sun Nov 15 01:53:32 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 7e58babde6f0472a595a98395c246462d23fa875
      https://github.com/MidnightBSD/src/commit/7e58babde6f0472a595a98395c246462d23fa875
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/dev/usb/input/ukbd.c

  Log Message:
  -----------
  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.




More information about the Midnightbsd-cvs mailing list