Browse Source

Revert "testevdev.c: comment out two unused data to fix build."

This reverts commit e4f53e6b214cf476c9ad4b035ead97fb62da81c0.
We'll use these in the next commit.

Signed-off-by: Simon McVittie <[email protected]>
Simon McVittie 1 year ago
parent
commit
3150fdc75e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      test/testevdev.c

+ 0 - 4
test/testevdev.c

@@ -247,7 +247,6 @@ static unsigned char steam_deck_oled_js_hid_report_descriptor[] =
 SDL_COMPILE_TIME_ASSERT (steam_deck_oled_js,
 SDL_COMPILE_TIME_ASSERT (steam_deck_oled_js,
                          sizeof (steam_deck_oled_js_hid_report_descriptor) == 38);
                          sizeof (steam_deck_oled_js_hid_report_descriptor) == 38);
 
 
-#if 0 /* unused for now */
 static unsigned char vrs_pedals_hid_report_descriptor[] =
 static unsigned char vrs_pedals_hid_report_descriptor[] =
 {
 {
     /* Generic Desktop / Joystick */
     /* Generic Desktop / Joystick */
@@ -265,7 +264,6 @@ static unsigned char vrs_pedals_hid_report_descriptor[] =
     0x09, 0x01, 0x81, 0x02, 0xc0, 0xc0,
     0x09, 0x01, 0x81, 0x02, 0xc0, 0xc0,
 };
 };
 SDL_COMPILE_TIME_ASSERT (vrs_pedals, sizeof (vrs_pedals_hid_report_descriptor) == 0136);
 SDL_COMPILE_TIME_ASSERT (vrs_pedals, sizeof (vrs_pedals_hid_report_descriptor) == 0136);
-#endif
 
 
 static unsigned char thinkpad_usb_keyboard_hid_report_descriptor[] =
 static unsigned char thinkpad_usb_keyboard_hid_report_descriptor[] =
 {
 {
@@ -313,7 +311,6 @@ static unsigned char thinkpad_usb_trackpoint_hid_report_descriptor[] =
 };
 };
 SDL_COMPILE_TIME_ASSERT (thinkpad_usb_trackpoint, sizeof (thinkpad_usb_trackpoint_hid_report_descriptor) == 185);
 SDL_COMPILE_TIME_ASSERT (thinkpad_usb_trackpoint, sizeof (thinkpad_usb_trackpoint_hid_report_descriptor) == 185);
 
 
-#if 0 /* unused for now */
 static unsigned char heusinkveld_pedals_hid_report_descriptor[] =
 static unsigned char heusinkveld_pedals_hid_report_descriptor[] =
 {
 {
     /* Generic Desktop / Joystick */
     /* Generic Desktop / Joystick */
@@ -327,7 +324,6 @@ static unsigned char heusinkveld_pedals_hid_report_descriptor[] =
     0x01, 0xc0,
     0x01, 0xc0,
 };
 };
 SDL_COMPILE_TIME_ASSERT (heusinkveld_pedals, sizeof (heusinkveld_pedals_hid_report_descriptor) == 072);
 SDL_COMPILE_TIME_ASSERT (heusinkveld_pedals, sizeof (heusinkveld_pedals_hid_report_descriptor) == 072);
-#endif
 
 
 static unsigned char fanatec_handbrake_hid_report_descriptor[] =
 static unsigned char fanatec_handbrake_hid_report_descriptor[] =
 {
 {