mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-01-21 01:47:37 +00:00
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
@ -81,6 +81,7 @@ typedef struct
|
||||
uint16_t vendor_id;
|
||||
uint16_t product_id;
|
||||
uint16_t version;
|
||||
uint16_t usb_device_version;
|
||||
uint8_t ev[(EV_MAX + 1) / 8];
|
||||
uint8_t keys[(KEY_MAX + 1) / 8];
|
||||
uint8_t abs[(ABS_MAX + 1) / 8];
|
||||
|
Loading…
x
Reference in New Issue
Block a user