SDL  2.0
SDL_dinputhaptic.c File Reference
#include "../../SDL_internal.h"
#include "SDL_error.h"
#include "SDL_haptic.h"
#include "../SDL_syshaptic.h"
+ Include dependency graph for SDL_dinputhaptic.c:

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 1233 of file SDL_dinputhaptic.c.

1234 {
1235 }

◆ SDL_DINPUT_HapticDestroyEffect()

void SDL_DINPUT_HapticDestroyEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1267 of file SDL_dinputhaptic.c.

1268 {
1269 }

◆ SDL_DINPUT_HapticGetEffectStatus()

int SDL_DINPUT_HapticGetEffectStatus ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1272 of file SDL_dinputhaptic.c.

1273 {
1274  return SDL_Unsupported();
1275 }
#define SDL_Unsupported()
Definition: SDL_error.h:89

References SDL_Unsupported.

◆ SDL_DINPUT_HapticInit()

int SDL_DINPUT_HapticInit ( void  )

Definition at line 1197 of file SDL_dinputhaptic.c.

1198 {
1199  return 0;
1200 }

◆ SDL_DINPUT_HapticNewEffect()

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

Definition at line 1243 of file SDL_dinputhaptic.c.

1244 {
1245  return SDL_Unsupported();
1246 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticOpen()

int SDL_DINPUT_HapticOpen ( SDL_Haptic *  haptic,
SDL_hapticlist_item item 
)

Definition at line 1215 of file SDL_dinputhaptic.c.

1216 {
1217  return SDL_Unsupported();
1218 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticOpenFromJoystick()

int SDL_DINPUT_HapticOpenFromJoystick ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 1227 of file SDL_dinputhaptic.c.

1228 {
1229  return SDL_Unsupported();
1230 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticPause()

int SDL_DINPUT_HapticPause ( SDL_Haptic *  haptic)

Definition at line 1290 of file SDL_dinputhaptic.c.

1291 {
1292  return SDL_Unsupported();
1293 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticQuit()

void SDL_DINPUT_HapticQuit ( void  )

Definition at line 1238 of file SDL_dinputhaptic.c.

1239 {
1240 }

◆ SDL_DINPUT_HapticRunEffect()

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

Definition at line 1255 of file SDL_dinputhaptic.c.

1256 {
1257  return SDL_Unsupported();
1258 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticSetAutocenter()

int SDL_DINPUT_HapticSetAutocenter ( SDL_Haptic *  haptic,
int  autocenter 
)

Definition at line 1284 of file SDL_dinputhaptic.c.

1285 {
1286  return SDL_Unsupported();
1287 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticSetGain()

int SDL_DINPUT_HapticSetGain ( SDL_Haptic *  haptic,
int  gain 
)

Definition at line 1278 of file SDL_dinputhaptic.c.

1279 {
1280  return SDL_Unsupported();
1281 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticStopAll()

int SDL_DINPUT_HapticStopAll ( SDL_Haptic *  haptic)

Definition at line 1302 of file SDL_dinputhaptic.c.

1303 {
1304  return SDL_Unsupported();
1305 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticStopEffect()

int SDL_DINPUT_HapticStopEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 1261 of file SDL_dinputhaptic.c.

1262 {
1263  return SDL_Unsupported();
1264 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticUnpause()

int SDL_DINPUT_HapticUnpause ( SDL_Haptic *  haptic)

Definition at line 1296 of file SDL_dinputhaptic.c.

1297 {
1298  return SDL_Unsupported();
1299 }

References SDL_Unsupported.

◆ SDL_DINPUT_HapticUpdateEffect()

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

Definition at line 1249 of file SDL_dinputhaptic.c.

1250 {
1251  return SDL_Unsupported();
1252 }

References SDL_Unsupported.

◆ SDL_DINPUT_JoystickSameHaptic()

int SDL_DINPUT_JoystickSameHaptic ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 1221 of file SDL_dinputhaptic.c.

1222 {
1223  return SDL_Unsupported();
1224 }

References SDL_Unsupported.

◆ SDL_DINPUT_MaybeAddDevice()

int SDL_DINPUT_MaybeAddDevice ( const DIDEVICEINSTANCE pdidInstance)

Definition at line 1203 of file SDL_dinputhaptic.c.

1204 {
1205  return SDL_Unsupported();
1206 }

References SDL_Unsupported.

◆ SDL_DINPUT_MaybeRemoveDevice()

int SDL_DINPUT_MaybeRemoveDevice ( const DIDEVICEINSTANCE pdidInstance)

Definition at line 1209 of file SDL_dinputhaptic.c.

1210 {
1211  return SDL_Unsupported();
1212 }

References SDL_Unsupported.