Home
last modified time | relevance | path

Searched refs:SDL_INIT_GAMECONTROLLER (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_main.c53 int subsystems[] = { SDL_INIT_JOYSTICK, SDL_INIT_HAPTIC, SDL_INIT_GAMECONTROLLER }; in main_testInitQuitSubSystem()
74 const int joy_and_controller = SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER;
84 …SDLTest_AssertCheck( SDL_InitSubSystem(SDL_INIT_GAMECONTROLLER) == 0, "SDL_InitSubSystem(SDL_INIT_… in main_testImpliedJoystickInit()
92 SDL_QuitSubSystem(SDL_INIT_GAMECONTROLLER); in main_testImpliedJoystickInit()
110 …SDLTest_AssertCheck( SDL_InitSubSystem(SDL_INIT_GAMECONTROLLER) == 0, "SDL_InitSubSystem(SDL_INIT_… in main_testImpliedJoystickQuit()
118 SDL_QuitSubSystem(SDL_INIT_GAMECONTROLLER); in main_testImpliedJoystickQuit()
A Dtestgamecontroller.c224 if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER ) < 0) { in main()
341 SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER); in main()
/AliOS-Things-master/components/SDL2/src/
A DSDL.c152 if ((flags & SDL_INIT_GAMECONTROLLER)) { in SDL_InitSubSystem()
244 if ((flags & SDL_INIT_GAMECONTROLLER)){ in SDL_InitSubSystem()
246 if (SDL_PrivateShouldInitSubsystem(SDL_INIT_GAMECONTROLLER)) { in SDL_InitSubSystem()
251 SDL_PrivateSubsystemRefCountIncr(SDL_INIT_GAMECONTROLLER); in SDL_InitSubSystem()
308 if ((flags & SDL_INIT_GAMECONTROLLER)) { in SDL_QuitSubSystem()
312 if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_GAMECONTROLLER)) { in SDL_QuitSubSystem()
315 SDL_PrivateSubsystemRefCountDecr(SDL_INIT_GAMECONTROLLER); in SDL_QuitSubSystem()
/AliOS-Things-master/components/SDL2/include/
A DSDL.h84 #define SDL_INIT_GAMECONTROLLER 0x00002000u /**< SDL_INIT_GAMECONTROLLER implies SDL_INIT_JOYSTICK… macro
90 SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER | SDL_INIT_SENSOR \

Completed in 4 milliseconds