Go to the documentation of this file.
22 #include "../SDL_internal.h"
24 #ifndef SDL_syshaptic_h_
25 #define SDL_syshaptic_h_
100 SDL_Joystick * joystick);
107 SDL_Joystick * joystick);
struct haptic_hwdata * hwdata
int SDL_SYS_HapticPause(SDL_Haptic *haptic)
const char * SDL_SYS_HapticName(int index)
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst base
int SDL_SYS_HapticUnpause(SDL_Haptic *haptic)
int SDL_SYS_HapticInit(void)
int SDL_SYS_HapticUpdateEffect(SDL_Haptic *haptic, struct haptic_effect *effect, SDL_HapticEffect *data)
struct haptic_effect * effects
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void SDL_SYS_HapticDestroyEffect(SDL_Haptic *haptic, struct haptic_effect *effect)
int SDL_SYS_HapticRunEffect(SDL_Haptic *haptic, struct haptic_effect *effect, Uint32 iterations)
The SDL haptic subsystem allows you to control haptic (force feedback) devices.
void SDL_SYS_HapticQuit(void)
int SDL_SYS_HapticSetGain(SDL_Haptic *haptic, int gain)
int SDL_SYS_HapticGetEffectStatus(SDL_Haptic *haptic, struct haptic_effect *effect)
The generic template for any haptic effect.
struct _SDL_Haptic * next
int SDL_SYS_HapticStopEffect(SDL_Haptic *haptic, struct haptic_effect *effect)
int SDL_SYS_HapticStopAll(SDL_Haptic *haptic)
void SDL_SYS_HapticClose(SDL_Haptic *haptic)
int SDL_SYS_HapticOpen(SDL_Haptic *haptic)
int SDL_SYS_HapticMouse(void)
int SDL_SYS_HapticNewEffect(SDL_Haptic *haptic, struct haptic_effect *effect, SDL_HapticEffect *base)
static SDL_Haptic * haptic
int SDL_SYS_HapticSetAutocenter(SDL_Haptic *haptic, int autocenter)
int SDL_SYS_NumHaptics(void)
SDL_HapticEffect rumble_effect
int SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
struct haptic_hweffect * hweffect
int SDL_SYS_JoystickSameHaptic(SDL_Haptic *haptic, SDL_Joystick *joystick)
int SDL_SYS_HapticOpenFromJoystick(SDL_Haptic *haptic, SDL_Joystick *joystick)