src/haptic/SDL_syshaptic.h
changeset 9272 5c894fec85b9
parent 8976 1a5d959d7b32
equal deleted inserted replaced
9271:8f71cb5dc099 9272:5c894fec85b9
    25 #define _SDL_syshaptic_h
    25 #define _SDL_syshaptic_h
    26 
    26 
    27 #include "SDL_haptic.h"
    27 #include "SDL_haptic.h"
    28 
    28 
    29 
    29 
    30 /*
       
    31  * Number of haptic devices on the system.
       
    32  */
       
    33 extern Uint8 SDL_numhaptics;
       
    34 
       
    35 
       
    36 struct haptic_effect
    30 struct haptic_effect
    37 {
    31 {
    38     SDL_HapticEffect effect;    /* The current event */
    32     SDL_HapticEffect effect;    /* The current event */
    39     struct haptic_hweffect *hweffect;   /* The hardware behind the event */
    33     struct haptic_hweffect *hweffect;   /* The hardware behind the event */
    40 };
    34 };