Skip to content

Commit

Permalink
testevdev: Associate HID reports for pedals with their other test data
Browse files Browse the repository at this point in the history
This is how these globals were intended to have been used, similar to
what we already did for the Fanatec device.

Fixes: 3772d6c "testevdev: Add raw HID report descriptors where available"
Signed-off-by: Simon McVittie <smcv@collabora.com>
  • Loading branch information
smcv committed Jun 24, 2024
1 parent d9a3a3e commit 96ae727
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/testevdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2003,6 +2003,8 @@ static const GuessTest guess_tests[] =
.ev = { 0x09 },
/* X, Y, Z */
.abs = { 0x07 },
.hid_report_descriptor_length = sizeof (vrs_pedals_hid_report_descriptor),
.hid_report_descriptor = &vrs_pedals_hid_report_descriptor[0],
},
{ /* https://github.com/ValveSoftware/Proton/issues/5126 */
.name = "Heusinkveld Heusinkveld Sim Pedals Ultimate",
Expand All @@ -2019,6 +2021,8 @@ static const GuessTest guess_tests[] =
.ev = { 0x09 },
/* RX, RY, RZ */
.abs = { 0x38 },
.hid_report_descriptor_length = sizeof (heusinkveld_pedals_hid_report_descriptor),
.hid_report_descriptor = &heusinkveld_pedals_hid_report_descriptor[0],
},
{ /* https://github.com/ValveSoftware/Proton/issues/5126 */
.name = "Vitaly [mega_mozg] Naidentsev ODDOR-handbrake",
Expand Down

0 comments on commit 96ae727

Please sign in to comment.