mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-02 08:24:14 +02:00
Add misc/spacemouse-capture.py to record a 3D mouse's raw USB reports
For device owners on Linux: guided movements, with every raw report and the device's report descriptor saved to one JSON file. Dropped into tests/qttest/fixtures/spacemouse/, a recording is checked by tst_spacemousehid against what the user was asked to do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
The descriptors below are written by hand from the HID specification,
|
||||
in the shape 3Dconnexion devices use. Recordings from real devices,
|
||||
made with spacemouse-capture.py, go in fixtures/spacemouse/ and are
|
||||
made with misc/spacemouse-capture.py, go in fixtures/spacemouse/ and are
|
||||
checked by recordedDevices(): each step says what the user did, so the
|
||||
decoded motion must point the right way.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user