input-monitor: Show more information
- Jun 14, 2023
-
-
Simon McVittie authored
This is potentially useful information for any heuristic for identifying different types of input device, because it is less ambiguous than the evdev interface. For example, the evdev interface cannot reliably tell the difference between a 3-axis accelerometer and a set of 3 driving-simulation pedals, because both are often reported as a device with the same three axes (X, Y, Z) and no buttons. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jun 13, 2023
-
-
Simon McVittie authored
Now that we're using a more readable output format for these, we don't need to limit them to verbose mode. This gives us essentially the same information as evemu-describe(1), but without requiring Steam users to install additional tools. Because the pretty-printed version only shows known joystick/gamepad buttons and a few of the most common non-joystick keys, it can be misleading. For example, we wouldn't show the unassigned button code used by the 8BitDo SNES30 v0100 via Bluetooth as described in https://github.com/libsdl-org/SDL/pull/7791 , or the multimedia control keyboard keys found on the Google Stadia Controller rev.A on the same pull request. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will allow input-monitor to print hex-dumps in a format that can be pasted into SDL and steam-runtime-tools test data without significant editing. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Reporting the keyboard capabilities like this: "raw_keys" : [ "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 07 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00", "00 00 00 00 00 00 00 00" ], is a lot more readable than one long string. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will let us output them in a more readable format. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jun 09, 2023
-
-
Simon McVittie authored
Previously, we used 4-byte groups on i386, but this was inconsistent and (in my opinion) harder to read. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-