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

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

◆ SDL_XINPUT_HapticClose()

void SDL_XINPUT_HapticClose ( SDL_Haptic *  haptic)

Definition at line 410 of file SDL_xinputhaptic.c.

411 {
412 }

◆ SDL_XINPUT_HapticDestroyEffect()

void SDL_XINPUT_HapticDestroyEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 444 of file SDL_xinputhaptic.c.

445 {
446 }

◆ SDL_XINPUT_HapticGetEffectStatus()

int SDL_XINPUT_HapticGetEffectStatus ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 449 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

450 {
451  return SDL_Unsupported();
452 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticInit()

int SDL_XINPUT_HapticInit ( void  )

Definition at line 374 of file SDL_xinputhaptic.c.

375 {
376  return 0;
377 }

◆ SDL_XINPUT_HapticNewEffect()

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

Definition at line 420 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

421 {
422  return SDL_Unsupported();
423 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticOpen()

int SDL_XINPUT_HapticOpen ( SDL_Haptic *  haptic,
SDL_hapticlist_item item 
)

Definition at line 392 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

393 {
394  return SDL_Unsupported();
395 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticOpenFromJoystick()

int SDL_XINPUT_HapticOpenFromJoystick ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 404 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

405 {
406  return SDL_Unsupported();
407 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticPause()

int SDL_XINPUT_HapticPause ( SDL_Haptic *  haptic)

Definition at line 467 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

468 {
469  return SDL_Unsupported();
470 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticQuit()

void SDL_XINPUT_HapticQuit ( void  )

Definition at line 415 of file SDL_xinputhaptic.c.

416 {
417 }

◆ SDL_XINPUT_HapticRunEffect()

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

Definition at line 432 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

433 {
434  return SDL_Unsupported();
435 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticSetAutocenter()

int SDL_XINPUT_HapticSetAutocenter ( SDL_Haptic *  haptic,
int  autocenter 
)

Definition at line 461 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

462 {
463  return SDL_Unsupported();
464 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticSetGain()

int SDL_XINPUT_HapticSetGain ( SDL_Haptic *  haptic,
int  gain 
)

Definition at line 455 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

456 {
457  return SDL_Unsupported();
458 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticStopAll()

int SDL_XINPUT_HapticStopAll ( SDL_Haptic *  haptic)

Definition at line 479 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

480 {
481  return SDL_Unsupported();
482 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticStopEffect()

int SDL_XINPUT_HapticStopEffect ( SDL_Haptic *  haptic,
struct haptic_effect effect 
)

Definition at line 438 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

439 {
440  return SDL_Unsupported();
441 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticUnpause()

int SDL_XINPUT_HapticUnpause ( SDL_Haptic *  haptic)

Definition at line 473 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

474 {
475  return SDL_Unsupported();
476 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_HapticUpdateEffect()

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

Definition at line 426 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

427 {
428  return SDL_Unsupported();
429 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_JoystickSameHaptic()

int SDL_XINPUT_JoystickSameHaptic ( SDL_Haptic *  haptic,
SDL_Joystick *  joystick 
)

Definition at line 398 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

399 {
400  return SDL_Unsupported();
401 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_MaybeAddDevice()

int SDL_XINPUT_MaybeAddDevice ( const DWORD  dwUserid)

Definition at line 380 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

381 {
382  return SDL_Unsupported();
383 }
#define SDL_Unsupported()
Definition: SDL_error.h:53

◆ SDL_XINPUT_MaybeRemoveDevice()

int SDL_XINPUT_MaybeRemoveDevice ( const DWORD  dwUserid)

Definition at line 386 of file SDL_xinputhaptic.c.

References SDL_Unsupported.

387 {
388  return SDL_Unsupported();
389 }
#define SDL_Unsupported()
Definition: SDL_error.h:53