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

void SDL_DINPUT_HapticClose ( SDL_Haptic *  haptic)

Definition at line 1224 of file SDL_dinputhaptic.c.

1225 {
1226 }
void SDL_DINPUT_HapticDestroyEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1258 of file SDL_dinputhaptic.c.

1259 {
1260 }
int SDL_DINPUT_HapticGetEffectStatus ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1263 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1264 {
1265  return SDL_Unsupported();
1266 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticInit ( void  )

Definition at line 1188 of file SDL_dinputhaptic.c.

1189 {
1190  return 0;
1191 }
int SDL_DINPUT_HapticNewEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
SDL_HapticEffect base 
)

Definition at line 1234 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1235 {
1236  return SDL_Unsupported();
1237 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticOpen ( SDL_Haptic *  haptic,
SDL_hapticlist_item item 
)

Definition at line 1206 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1207 {
1208  return SDL_Unsupported();
1209 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticOpenFromJoystick ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 1218 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1219 {
1220  return SDL_Unsupported();
1221 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticPause ( SDL_Haptic *  haptic)

Definition at line 1281 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

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

Definition at line 1229 of file SDL_dinputhaptic.c.

1230 {
1231 }
int SDL_DINPUT_HapticRunEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
Uint32  iterations 
)

Definition at line 1246 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1247 {
1248  return SDL_Unsupported();
1249 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticSetAutocenter ( SDL_Haptic *  haptic,
int  autocenter 
)

Definition at line 1275 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1276 {
1277  return SDL_Unsupported();
1278 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticSetGain ( SDL_Haptic *  haptic,
int  gain 
)

Definition at line 1269 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1270 {
1271  return SDL_Unsupported();
1272 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticStopAll ( SDL_Haptic *  haptic)

Definition at line 1293 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1294 {
1295  return SDL_Unsupported();
1296 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticStopEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1252 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1253 {
1254  return SDL_Unsupported();
1255 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticUnpause ( SDL_Haptic *  haptic)

Definition at line 1287 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1288 {
1289  return SDL_Unsupported();
1290 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_HapticUpdateEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
SDL_HapticEffect data 
)

Definition at line 1240 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1241 {
1242  return SDL_Unsupported();
1243 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_JoystickSameHaptic ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 1212 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1213 {
1214  return SDL_Unsupported();
1215 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_MaybeAddDevice ( const DIDEVICEINSTANCE pdidInstance)

Definition at line 1194 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

1195 {
1196  return SDL_Unsupported();
1197 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_DINPUT_MaybeRemoveDevice ( const DIDEVICEINSTANCE pdidInstance)

Definition at line 1200 of file SDL_dinputhaptic.c.

References SDL_Unsupported.

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