Skip to content

Commit

Permalink
this should be JoystickBase
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Apr 5, 2024
1 parent b33f72b commit 16219ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/modules/joystick/JoystickModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 16219ce

Please sign in to comment.