input-device: Add device-type flags
These are what we really want for SDL and Wine: they're broadly
equivalent to the udev ID_INPUT_FOO properties, and identify which
devices are desired at a high level.
Also add test coverage for the device-type-guessing heuristic.
Thanks to various people in Collabora, Codeweavers and #debian-uk for
providing `sudo evemu-describe` output for their devices.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
97054246
No related branches found
No related tags found
Showing
- bin/input-monitor.c 21 additions, 0 deletionsbin/input-monitor.c
- steam-runtime-tools/input-device-internal.h 2 additions, 0 deletionssteam-runtime-tools/input-device-internal.h
- steam-runtime-tools/input-device.c 296 additions, 0 deletionssteam-runtime-tools/input-device.c
- steam-runtime-tools/input-device.h 51 additions, 0 deletionssteam-runtime-tools/input-device.h
- steam-runtime-tools/udev-input-device.c 85 additions, 0 deletionssteam-runtime-tools/udev-input-device.c
- tests/input-device.c 949 additions, 0 deletionstests/input-device.c
- tests/mock-input-device.c 10 additions, 0 deletionstests/mock-input-device.c
- tests/mock-input-device.h 1 addition, 0 deletionstests/mock-input-device.h
Loading
Please register or sign in to comment