Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels