SDL  2.0
SDL_xinputhaptic.c File Reference
+ Include dependency graph for SDL_xinputhaptic.c:

Go to the source code of this file.

Functions

int SDL_XINPUT_HapticInit (void)
 
int SDL_XINPUT_MaybeAddDevice (const DWORD dwUserid)
 
int SDL_XINPUT_MaybeRemoveDevice (const DWORD dwUserid)
 
int SDL_XINPUT_HapticOpen (SDL_Haptic *haptic, SDL_hapticlist_item *item)
 
int SDL_XINPUT_JoystickSameHaptic (SDL_Haptic *haptic, SDL_Joystick *joystick)
 
int SDL_XINPUT_HapticOpenFromJoystick (SDL_Haptic *haptic, SDL_Joystick *joystick)
 
void SDL_XINPUT_HapticClose (SDL_Haptic *haptic)
 
void SDL_XINPUT_HapticQuit (void)
 
int SDL_XINPUT_HapticNewEffect (SDL_Haptic *haptic, struct haptic_effect *effect, SDL_HapticEffect *base)
 
int SDL_XINPUT_HapticUpdateEffect (SDL_Haptic *haptic, struct haptic_effect *effect, SDL_HapticEffect *data)
 
int SDL_XINPUT_HapticRunEffect (SDL_Haptic *haptic, struct haptic_effect *effect, Uint32 iterations)
 
int SDL_XINPUT_HapticStopEffect (SDL_Haptic *haptic, struct haptic_effect *effect)
 
void SDL_XINPUT_HapticDestroyEffect (SDL_Haptic *haptic, struct haptic_effect *effect)
 
int SDL_XINPUT_HapticGetEffectStatus (SDL_Haptic *haptic, struct haptic_effect *effect)
 
int SDL_XINPUT_HapticSetGain (SDL_Haptic *haptic, int gain)
 
int SDL_XINPUT_HapticSetAutocenter (SDL_Haptic *haptic, int autocenter)
 
int SDL_XINPUT_HapticPause (SDL_Haptic *haptic)
 
int SDL_XINPUT_HapticUnpause (SDL_Haptic *haptic)
 
int SDL_XINPUT_HapticStopAll (SDL_Haptic *haptic)
 

Function Documentation

void SDL_XINPUT_HapticClose ( SDL_Haptic *  haptic)

Definition at line 419 of file SDL_xinputhaptic.c.

420 {
421 }
void SDL_XINPUT_HapticDestroyEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 453 of file SDL_xinputhaptic.c.

454 {
455 }
int SDL_XINPUT_HapticGetEffectStatus ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 458 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

459 {
460  return SDL_Unsupported();
461 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticInit ( void  )

Definition at line 383 of file SDL_xinputhaptic.c.

384 {
385  return 0;
386 }
int SDL_XINPUT_HapticNewEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
SDL_HapticEffect base 
)

Definition at line 429 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

430 {
431  return SDL_Unsupported();
432 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticOpen ( SDL_Haptic *  haptic,
SDL_hapticlist_item item 
)

Definition at line 401 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

402 {
403  return SDL_Unsupported();
404 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticOpenFromJoystick ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 413 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

414 {
415  return SDL_Unsupported();
416 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticPause ( SDL_Haptic *  haptic)

Definition at line 476 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

477 {
478  return SDL_Unsupported();
479 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
void SDL_XINPUT_HapticQuit ( void  )

Definition at line 424 of file SDL_xinputhaptic.c.

425 {
426 }
int SDL_XINPUT_HapticRunEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
Uint32  iterations 
)

Definition at line 441 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

442 {
443  return SDL_Unsupported();
444 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticSetAutocenter ( SDL_Haptic *  haptic,
int  autocenter 
)

Definition at line 470 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

471 {
472  return SDL_Unsupported();
473 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticSetGain ( SDL_Haptic *  haptic,
int  gain 
)

Definition at line 464 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

465 {
466  return SDL_Unsupported();
467 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticStopAll ( SDL_Haptic *  haptic)

Definition at line 488 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

489 {
490  return SDL_Unsupported();
491 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticStopEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 447 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

448 {
449  return SDL_Unsupported();
450 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticUnpause ( SDL_Haptic *  haptic)

Definition at line 482 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

483 {
484  return SDL_Unsupported();
485 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_HapticUpdateEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect,
SDL_HapticEffect data 
)

Definition at line 435 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

436 {
437  return SDL_Unsupported();
438 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_JoystickSameHaptic ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 407 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

408 {
409  return SDL_Unsupported();
410 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_MaybeAddDevice ( const DWORD  dwUserid)

Definition at line 389 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

390 {
391  return SDL_Unsupported();
392 }
#define SDL_Unsupported()
Definition: SDL_error.h:53
int SDL_XINPUT_MaybeRemoveDevice ( const DWORD  dwUserid)

Definition at line 395 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

396 {
397  return SDL_Unsupported();
398 }
#define SDL_Unsupported()
Definition: SDL_error.h:53