Some newer HID devices have descriptors that are larger than 1k. Bump
this to 2k to prevent them from being truncated and ignored. It appears to be a sanity check only, but bumping it to 2k allows both of my iic hid devices to be parsed and the second one to work...
This commit is contained in:
parent
50511ab114
commit
a3a09b7094
@ -74,7 +74,7 @@ static uint8_t hid_get_byte(struct hid_data *s, const uint16_t wSize);
|
||||
#define MAXUSAGE 64
|
||||
#define MAXPUSH 4
|
||||
#define MAXID 16
|
||||
#define MAXLOCCNT 1024
|
||||
#define MAXLOCCNT 2048
|
||||
|
||||
struct hid_pos_data {
|
||||
int32_t rid;
|
||||
|
Loading…
Reference in New Issue
Block a user