1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02:00

Fix some more joystick issues (#10624)

This commit is contained in:
Markus
2020-12-19 22:01:05 +01:00
committed by GitHub
parent 5066fe7583
commit af22dd86e3
7 changed files with 55 additions and 50 deletions

View File

@@ -279,7 +279,7 @@ public:
}
virtual bool wasKeyPressed(GameKeyType k)
{
return m_receiver->WasKeyPressed(keycache.key[k]) || joystick.wasKeyReleased(k);
return m_receiver->WasKeyPressed(keycache.key[k]) || joystick.wasKeyPressed(k);
}
virtual bool wasKeyReleased(GameKeyType k)
{