SDL  2.0
SDL_dinputhaptic_c.h File Reference
#include "../../SDL_internal.h"
#include "SDL_haptic.h"
#include "SDL_windowshaptic_c.h"
+ Include dependency graph for SDL_dinputhaptic_c.h:

Go to the source code of this file.

Functions

int SDL_DINPUT_HapticInit (void)
 
int SDL_DINPUT_MaybeAddDevice (const DIDEVICEINSTANCE *pdidInstance)
 
int SDL_DINPUT_MaybeRemoveDevice (const DIDEVICEINSTANCE *pdidInstance)
 
int SDL_DINPUT_HapticOpen (SDL_Haptic *haptic, SDL_hapticlist_item *item)
 
int SDL_DINPUT_JoystickSameHaptic (SDL_Haptic *haptic, SDL_Joystick *joystick)
 
int SDL_DINPUT_HapticOpenFromJoystick (SDL_Haptic *haptic, SDL_Joystick *joystick)
 
void SDL_DINPUT_HapticClose (SDL_Haptic *haptic)
 
void SDL_DINPUT_HapticQuit (void)
 
int SDL_DINPUT_HapticNewEffect (SDL_Haptic *haptic, struct haptic_effect *effect, SDL_HapticEffect *base)
 
int SDL_DINPUT_HapticUpdateEffect (SDL_Haptic *haptic, struct haptic_effect *effect, SDL_HapticEffect *data)
 
int SDL_DINPUT_HapticRunEffect (SDL_Haptic *haptic, struct haptic_effect *effect, Uint32 iterations)
 
int SDL_DINPUT_HapticStopEffect (SDL_Haptic *haptic, struct haptic_effect *effect)
 
void SDL_DINPUT_HapticDestroyEffect (SDL_Haptic *haptic, struct haptic_effect *effect)
 
int SDL_DINPUT_HapticGetEffectStatus (SDL_Haptic *haptic, struct haptic_effect *effect)
 
int SDL_DINPUT_HapticSetGain (SDL_Haptic *haptic, int gain)
 
int SDL_DINPUT_HapticSetAutocenter (SDL_Haptic *haptic, int autocenter)
 
int SDL_DINPUT_HapticPause (SDL_Haptic *haptic)
 
int SDL_DINPUT_HapticUnpause (SDL_Haptic *haptic)
 
int SDL_DINPUT_HapticStopAll (SDL_Haptic *haptic)
 

Function Documentation

§ SDL_DINPUT_HapticClose()

void SDL_DINPUT_HapticClose ( SDL_Haptic *  haptic)

Definition at line 1225 of file SDL_dinputhaptic.c.

1226 {
1227 }

§ SDL_DINPUT_HapticDestroyEffect()

void SDL_DINPUT_HapticDestroyEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1259 of file SDL_dinputhaptic.c.

1260 {
1261 }

§ SDL_DINPUT_HapticGetEffectStatus()

int SDL_DINPUT_HapticGetEffectStatus ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1264 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1265 {
1266  return SDL_Unsupported();
1267 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticInit()

int SDL_DINPUT_HapticInit ( void  )

Definition at line 1189 of file SDL_dinputhaptic.c.

1190 {
1191  return 0;
1192 }

§ SDL_DINPUT_HapticNewEffect()

int SDL_DINPUT_HapticNewEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
SDL_HapticEffect base 
)

Definition at line 1235 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1236 {
1237  return SDL_Unsupported();
1238 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticOpen()

int SDL_DINPUT_HapticOpen ( SDL_Haptic *  haptic,
SDL_hapticlist_item item 
)

Definition at line 1207 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1208 {
1209  return SDL_Unsupported();
1210 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticOpenFromJoystick()

int SDL_DINPUT_HapticOpenFromJoystick ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 1219 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1220 {
1221  return SDL_Unsupported();
1222 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticPause()

int SDL_DINPUT_HapticPause ( SDL_Haptic *  haptic)

Definition at line 1282 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1283 {
1284  return SDL_Unsupported();
1285 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticQuit()

void SDL_DINPUT_HapticQuit ( void  )

Definition at line 1230 of file SDL_dinputhaptic.c.

1231 {
1232 }

§ SDL_DINPUT_HapticRunEffect()

int SDL_DINPUT_HapticRunEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
Uint32  iterations 
)

Definition at line 1247 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1248 {
1249  return SDL_Unsupported();
1250 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticSetAutocenter()

int SDL_DINPUT_HapticSetAutocenter ( SDL_Haptic *  haptic,
int  autocenter 
)

Definition at line 1276 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1277 {
1278  return SDL_Unsupported();
1279 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticSetGain()

int SDL_DINPUT_HapticSetGain ( SDL_Haptic *  haptic,
int  gain 
)

Definition at line 1270 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1271 {
1272  return SDL_Unsupported();
1273 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticStopAll()

int SDL_DINPUT_HapticStopAll ( SDL_Haptic *  haptic)

Definition at line 1294 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1295 {
1296  return SDL_Unsupported();
1297 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticStopEffect()

int SDL_DINPUT_HapticStopEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1253 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1254 {
1255  return SDL_Unsupported();
1256 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticUnpause()

int SDL_DINPUT_HapticUnpause ( SDL_Haptic *  haptic)

Definition at line 1288 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1289 {
1290  return SDL_Unsupported();
1291 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_HapticUpdateEffect()

int SDL_DINPUT_HapticUpdateEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
SDL_HapticEffect data 
)

Definition at line 1241 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1242 {
1243  return SDL_Unsupported();
1244 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_JoystickSameHaptic()

int SDL_DINPUT_JoystickSameHaptic ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 1213 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1214 {
1215  return SDL_Unsupported();
1216 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_MaybeAddDevice()

int SDL_DINPUT_MaybeAddDevice ( const DIDEVICEINSTANCE pdidInstance)

Definition at line 1195 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1196 {
1197  return SDL_Unsupported();
1198 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

§ SDL_DINPUT_MaybeRemoveDevice()

int SDL_DINPUT_MaybeRemoveDevice ( const DIDEVICEINSTANCE pdidInstance)

Definition at line 1201 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1202 {
1203  return SDL_Unsupported();
1204 }
#define SDL_Unsupported()
Definition: SDL_error.h:53