HomeSort by relevance Sort by last modified time
    Searched defs:joystick (Results 1 - 3 of 3) sorted by null

  /prebuilts/misc/windows/sdl2/test/
testhotplug.c 13 /* Simple program to test the SDL joystick hotplugging */
27 SDL_Joystick *joystick = NULL; local
73 if (joystick != NULL)
75 SDL_Log("Only one joystick supported by this test\n");
79 joystick = SDL_JoystickOpen(event.jdevice.which);
80 instance = SDL_JoystickInstanceID(joystick);
81 SDL_Log("Joy Added : %d : %s\n", event.jdevice.which, SDL_JoystickName(joystick));
84 if (SDL_JoystickIsHaptic(joystick))
86 haptic = SDL_HapticOpenFromJoystick(joystick);
117 SDL_JoystickClose(joystick);
    [all...]
testjoystick.c 13 /* Simple program to test the SDL joystick routines */
40 WatchJoystick(SDL_Joystick * joystick)
50 /* Create a window to display joystick axis position */
51 window = SDL_CreateWindow("Joystick Test", SDL_WINDOWPOS_CENTERED,
71 /* Print info about the joystick we are watching */
72 name = SDL_JoystickName(joystick);
73 SDL_Log("Watching joystick %d: (%s)\n", SDL_JoystickInstanceID(joystick),
74 name ? name : "Unknown Joystick");
75 SDL_Log("Joystick has %d axes, %d hats, %d balls, and %d buttons\n"
212 SDL_Joystick *joystick; local
    [all...]
controllermap.c 100 WatchJoystick(SDL_Joystick * joystick)
139 /* Create a window to display joystick axis position */
163 /* Print info about the joystick we are watching */
164 name = SDL_JoystickName(joystick);
165 SDL_Log("Watching joystick %d: (%s)\n", SDL_JoystickInstanceID(joystick),
166 name ? name : "Unknown Joystick");
167 SDL_Log("Joystick has %d axes, %d hats, %d balls, and %d buttons\n",
168 SDL_JoystickNumAxes(joystick), SDL_JoystickNumHats(joystick),
342 SDL_Joystick *joystick; local
    [all...]

Completed in 1093 milliseconds