Skip to content

Commit

Permalink
added missing event handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Feb 28, 2024
1 parent 90a7d35 commit 2dc20d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ static void process_events() {
case SDL_CONTROLLERBUTTONDOWN:
case SDL_CONTROLLERBUTTONUP:
case SDL_CONTROLLERDEVICEADDED:
case SDL_CONTROLLERDEVICEREMOVED: {
case SDL_CONTROLLERDEVICEREMOVED:
case SDL_FINGERDOWN:
case SDL_FINGERUP:
case SDL_FINGERMOTION: {
bool intercept_by_stream = stream_manager_intercept_event(app->stream_manager, &event);
if (!intercept_by_stream) {
app_sdl_input_event(app, &event);
Expand Down

0 comments on commit 2dc20d5

Please sign in to comment.