Increase "Report Count" value limit in HID descriptor parser from 255 to 256 to fix usage/report size calculation of Microsoft`s "Touch Hardware Quality Assurance" certificate blob[1] found in many touchscreens.
Some devices like WaveShare touchscreens require reading of THQA report at initialization stage to start event generation so it would be nice to provide usbd_req_get_report() with proper report length. Also it should fix infamous "hid_get_item: Number of items(256) truncated to 255" boot message.
It may make sense to bump the limit to 1k or even more to fix e.g. some gaming keyboards HID-descriptor parsing[2]
While here, join several "c->flags = dval" lines in to single line.
[1] https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/touch-and-pen-support
[2] https://unix.stackexchange.com/questions/401722/new-trueos-install-keyboard-doesnt-work-right