Home
last modified time | relevance | path

Searched refs:SDL_INIT_JOYSTICK (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_main.c25 int initialized_subsystems = SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC; in main_testInitQuitJoystickHaptic()
53 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;
109 …SDLTest_AssertCheck( SDL_InitSubSystem(SDL_INIT_JOYSTICK) == 0, "SDL_InitSubSystem(SDL_INIT_JOYSTI… in main_testImpliedJoystickQuit()
120 …SDLTest_AssertCheck( (initialized_system & joy_and_controller) == SDL_INIT_JOYSTICK, "SDL_WasInit(… in main_testImpliedJoystickQuit()
122 SDL_QuitSubSystem(SDL_INIT_JOYSTICK); in main_testImpliedJoystickQuit()
A Dtestrumble.c75 SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK | in main()
A Dtestjoystick.c273 if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) < 0) { in main()
310 SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK); in main()
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()
A Dtesthotplug.c32 Uint32 init_subsystems = SDL_INIT_VIDEO | SDL_INIT_JOYSTICK; in main()
A Dcontrollermap.c712 if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) < 0) { in main()
779 SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK); in main()
A Dtesthaptic.c74 SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK | in main()
/AliOS-Things-master/components/SDL2/src/
A DSDL.c154 flags |= SDL_INIT_JOYSTICK; in SDL_InitSubSystem()
157 if ((flags & (SDL_INIT_VIDEO|SDL_INIT_JOYSTICK))) { in SDL_InitSubSystem()
163 if ((flags & (SDL_INIT_HAPTIC|SDL_INIT_JOYSTICK))) { in SDL_InitSubSystem()
231 if ((flags & SDL_INIT_JOYSTICK)){ in SDL_InitSubSystem()
233 if (SDL_PrivateShouldInitSubsystem(SDL_INIT_JOYSTICK)) { in SDL_InitSubSystem()
238 SDL_PrivateSubsystemRefCountIncr(SDL_INIT_JOYSTICK); in SDL_InitSubSystem()
310 flags |= SDL_INIT_JOYSTICK; in SDL_QuitSubSystem()
318 if ((flags & SDL_INIT_JOYSTICK)) { in SDL_QuitSubSystem()
322 if (SDL_PrivateShouldQuitSubsystem(SDL_INIT_JOYSTICK)) { in SDL_QuitSubSystem()
325 SDL_PrivateSubsystemRefCountDecr(SDL_INIT_JOYSTICK); in SDL_QuitSubSystem()
/AliOS-Things-master/components/SDL2/include/
A DSDL.h82 #define SDL_INIT_JOYSTICK 0x00000200u /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */ macro
90 SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER | SDL_INIT_SENSOR \
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c1358 if (!SDL_WasInit(SDL_INIT_JOYSTICK)) { in SDL_JoystickUpdate()

Completed in 16 milliseconds