SDL: Fixed build (da478)

From da478d1f664bb3d5959d6e354431023d7ad91c2f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 25 Oct 2022 10:30:56 -0700
Subject: [PATCH] Fixed build

---
 src/joystick/hidapi/SDL_hidapijoystick.c | 1 +
 test/testautomation_joystick.c           | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c
index 16909a0421b1..ecb8bf00c183 100644
--- a/src/joystick/hidapi/SDL_hidapijoystick.c
+++ b/src/joystick/hidapi/SDL_hidapijoystick.c
@@ -816,6 +816,7 @@ HIDAPI_AddDevice(const struct SDL_hid_device_info *info, int num_children, SDL_H
         return NULL;
     }
 
+#define DEBUG_HIDAPI
 #ifdef DEBUG_HIDAPI
     SDL_Log("Added HIDAPI device '%s' VID 0x%.4x, PID 0x%.4x, version %d, serial %s, interface %d, interface_class %d, interface_subclass %d, interface_protocol %d, usage page 0x%.4x, usage 0x%.4x, path = %s, driver = %s (%s)\n", device->name, device->vendor_id, device->product_id, device->version, device->serial ? device->serial : "NONE", device->interface_number, device->interface_class, device->interface_subclass, device->interface_protocol, device->usage_page, device->usage, device->path, device->driver ? device->driver->name : "NONE", device->driver && device->driver->enabled ? "ENABLED" : "DISABLED");
 #endif
diff --git a/test/testautomation_joystick.c b/test/testautomation_joystick.c
index 198128e9caca..3baa4ee58566 100644
--- a/test/testautomation_joystick.c
+++ b/test/testautomation_joystick.c
@@ -30,7 +30,7 @@ TestVirtualJoystick(void *arg)
     desc.naxes = SDL_CONTROLLER_AXIS_MAX;
     desc.nbuttons = SDL_CONTROLLER_BUTTON_MAX;
     desc.vendor_id = USB_VENDOR_NVIDIA;
-    desc.product_id = USB_PRODUCT_NVIDIA_SHIELD_CONTROLLER;
+    desc.product_id = USB_PRODUCT_NVIDIA_SHIELD_CONTROLLER_V104;
     desc.name = "Virtual NVIDIA SHIELD Controller";
     device_index = SDL_JoystickAttachVirtualEx(&desc);
     SDLTest_AssertCheck(device_index >= 0, "SDL_JoystickAttachVirtualEx()");