You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see those controllers on my Windows 10 PC "bluetooth and other devices" list:
PLAYSTATION(R)3 Controller
Xbox Series X Controller
I am calling these functions to enable the joystick/controller events:
if (SDL_Init(... | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER | ...) != 0)
{
...
SDL_JoystickEventState(SDL_ENABLE);
SDL_GameControllerEventState(SDL_ENABLE);
}
I am processing the events SDL_JOYDEVICEADDED and only getting one device, an XBOX one controller.
The function SDL_NumJoysticks() returns 1, which, when I use the functions (SDL_JoystickOpen, SDL_JoystickName) or (SDL_JoystickNameForIndex), returns the string "Controller (Xbox One For Windows)".
I am wondering if there is something special to do for that PS3 controller?