Determine if a hid item is an array by solely inspecting presence of
authoranton <anton@openbsd.org>
Wed, 25 Aug 2021 05:45:33 +0000 (05:45 +0000)
committeranton <anton@openbsd.org>
Wed, 25 Aug 2021 05:45:33 +0000 (05:45 +0000)
commitcfd7874dd5962c0101c9453696fadf3a61a1b726
treecba6897f2a94dc6f5f6e8cdbfd78044a045a17fe
parent8dce61490a8e32f4fc09942fdca3a5759baaf41c
Determine if a hid item is an array by solely inspecting presence of
associated min/max boundaries. Assuming that every usage array starts
with the Control usage is incorrect.

Fixes claudio@'s GMMK keyboard and partial fix for florian@'s Microsoft
Sculpt keyboard.
sys/dev/usb/ucc.c