From 16219ce91259ba79335fdf3e5bffb1c4122d1404 Mon Sep 17 00:00:00 2001 From: TurtleP Date: Fri, 5 Apr 2024 14:52:01 -0400 Subject: [PATCH] this should be JoystickBase --- source/modules/joystick/JoystickModule.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/modules/joystick/JoystickModule.cpp b/source/modules/joystick/JoystickModule.cpp index 435a869d..4c3d5d29 100644 --- a/source/modules/joystick/JoystickModule.cpp +++ b/source/modules/joystick/JoystickModule.cpp @@ -57,9 +57,9 @@ namespace love if (deviceId < 0 || (size_t)deviceId >= joystick::getJoystickCount()) return nullptr; - std::string guid = this->getDeviceGUID(deviceId); - Joystick* joystick = nullptr; - bool reused = false; + std::string guid = this->getDeviceGUID(deviceId); + JoystickBase* joystick = nullptr; + bool reused = false; for (auto* stick : this->joysticks) {