Searched refs:joystick (Results 1 - 11 of 11) sorted by relevance

/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
H A DSDL_joystick.h25 * 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...]
H A DSDL_haptic.h32 * - 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 Joystic
[all...]
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
H A DSDL_joystick.h25 * 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...]
H A DSDL_haptic.h32 * - 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 Joystic
[all...]
/prebuilts/misc/windows/sdl2/include/
H A DSDL_joystick.h25 * 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...]
H A DSDL_haptic.h32 * - 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 Joystic
[all...]
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
H A DSDL_joystick.h25 * 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...]
H A DSDL_haptic.h32 * - 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 Joystic
[all...]
/prebuilts/misc/windows/sdl2/test/
H A Dtestjoystick.c13 /* Simple program to test the SDL joystick routines */
40 WatchJoystick(SDL_Joystick * joystick) argument
50 /* Create a window to display joystick axis position */
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),
76 SDL_JoystickNumAxes(joystick), SDL_JoystickNumHats(joystick),
77 SDL_JoystickNumBalls(joystick), SDL_JoystickNumButton
212 SDL_Joystick *joystick; local
[all...]
H A Dtesthotplug.c13 /* 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...]
H A Dcontrollermap.c100 WatchJoystick(SDL_Joystick * joystick) argument
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),
168 SDL_JoystickNumAxes(joystick), SDL_JoystickNumHats(joystick),
169 SDL_JoystickNumBalls(joystick), SDL_JoystickNumButtons(joystick));
342 SDL_Joystick *joystick; local
[all...]

Completed in 215 milliseconds