input_common: Small fix

This commit is contained in:
GPUCode
2022-10-02 18:58:29 +03:00
parent eea914ba84
commit 177c7de4f9

View File

@ -1053,7 +1053,7 @@ public:
}
Common::ParamPackage GetNextInput() override {
SDL_Event event;
SDL_Event event{};
while (state.event_queue.Pop(event)) {
if (event.type != SDL_JOYAXISMOTION || std::abs(event.jaxis.value / 32767.0) < 0.5) {
continue;