Skip to content

Commit

Permalink
MorphOS: adapt Joystick part
Browse files Browse the repository at this point in the history
  • Loading branch information
BeWorld2018 committed Jan 15, 2024
1 parent 17f6882 commit 851fc28
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 175 deletions.
4 changes: 2 additions & 2 deletions src/joystick/SDL_joystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,9 @@ int SDL_InitJoysticks(void)
/* See if we should allow joystick events while in the background */
SDL_AddHintCallback(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS,
SDL_JoystickAllowBackgroundEventsChanged, NULL);

#ifndef __MORPHOS__
SDL_InitSteamVirtualGamepadInfo();

#endif
status = -1;
for (i = 0; i < SDL_arraysize(SDL_joystick_drivers); ++i) {
if (SDL_joystick_drivers[i]->Init() >= 0) {
Expand Down
Loading

0 comments on commit 851fc28

Please sign in to comment.