use the correct rdesc size

This commit is contained in:
Denis 2023-12-08 22:52:26 +01:00
parent 9228ccc15f
commit a0eb198851
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ typedef enum input_dev_type {
typedef struct hidraw_filters {
const int16_t pid;
const int16_t vid;
const uint16_t rdesc_size; // wc -c < /sys/class/hidraw/hidraw0/device/report_descriptor
const uint32_t rdesc_size; // wc -c < /sys/class/hidraw/hidraw0/device/report_descriptor
} hidraw_filters_t;
typedef struct uinput_filters {