mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-28 23:02:48 +01:00
Set currentKeyState_ to false when resetting the key states.
This commit is contained in:
@@ -238,8 +238,10 @@ void UserInput::resetStates()
|
|||||||
{
|
{
|
||||||
keyHandlers_[i]->reset();
|
keyHandlers_[i]->reset();
|
||||||
}
|
}
|
||||||
|
currentKeyState_[i] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool UserInput::update(SDL_Event &e)
|
bool UserInput::update(SDL_Event &e)
|
||||||
{
|
{
|
||||||
bool updated = false;
|
bool updated = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user