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

  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/test/
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...]
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...]
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...]
  /compatibility/cdd/7_hardware-compatibility/
7_2_input-devices.md 184 air mouse, gyro-pointer, joystick, and multi-touch trackpad can support fake
359 <td><a href="http://developer.android.com/reference/android/view/MotionEvent.html#AXIS_Y">Left Joystick</a></td>
368 <td><a href="http://developer.android.com/reference/android/view/MotionEvent.html#AXIS_Z">Right Joystick</a></td>

Completed in 327 milliseconds