testevdev: Add a field for the USB device version
For some devices, such as the Steam Deck's built-in Steam Controller, the version number reported via evdev and the version number reported via USB are different. We don't currently use this information anyway, but in case we want to use it in the future, let's include it in our test data. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
0f27686a51
commit
740850d3ce
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ typedef struct
|
||||||
uint16_t vendor_id;
|
uint16_t vendor_id;
|
||||||
uint16_t product_id;
|
uint16_t product_id;
|
||||||
uint16_t version;
|
uint16_t version;
|
||||||
|
uint16_t usb_device_version;
|
||||||
uint8_t ev[(EV_MAX + 1) / 8];
|
uint8_t ev[(EV_MAX + 1) / 8];
|
||||||
uint8_t keys[(KEY_MAX + 1) / 8];
|
uint8_t keys[(KEY_MAX + 1) / 8];
|
||||||
uint8_t abs[(ABS_MAX + 1) / 8];
|
uint8_t abs[(ABS_MAX + 1) / 8];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue