Lines Matching refs:joystick
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.
890 * \return 1 if the joystick is haptic, 0 if it isn't
895 extern DECLSPEC int SDLCALL SDL_JoystickIsHaptic(SDL_Joystick * joystick);
901 * with the joystick.
903 * When opening from a joystick you should first close the haptic device before
904 * closing the joystick device. If not, on some implementations the haptic
908 * \param joystick Joystick to create a haptic device from.
915 joystick);