A USB HID report ID must be represented using a single byte ranging
authoranton <anton@openbsd.org>
Fri, 29 Oct 2021 15:43:55 +0000 (15:43 +0000)
committeranton <anton@openbsd.org>
Fri, 29 Oct 2021 15:43:55 +0000 (15:43 +0000)
commit57aafeb662d6fa7283aea71b4c3ea3ddb16bbd78
treee43fc4328cec0fd81275dbe148bc3e80104a98f1
parenta1865e0727e47f1006fd6ebc8758c8d35c69d6f0
A USB HID report ID must be represented using a single byte ranging
between 1-255 where 0 is reserved. The pseudo report ID
UHIDEV_CLAIM_MULTIPLE_REPORTID is currently colliding with the valid
report ID 255. Therefore crank it which gets rid of the collision and
increase the related fields in order to cope with larger integers.

Thanks to Damien Couderc <openbsd at petrocore dot eu> for reporting and
testing.
sys/dev/usb/uhidev.h