partially added analog controls

This commit is contained in:
georgemoralis 2024-06-17 12:52:25 +03:00
parent 57c65cadb8
commit 48d6ccd9bb
4 changed files with 73 additions and 26 deletions

View file

@ -131,7 +131,7 @@ void WindowSDL::onKeyPress(const SDL_Event* event) {
break;
}
if (button != 0) {
controller->checkButton(0, button, event->type == SDL_EVENT_KEY_DOWN);
controller->CheckButton(0, button, event->type == SDL_EVENT_KEY_DOWN);
}
}