src/haptic/windows/SDL_windowshaptic_c.h
changeset 13944 b8c8ce11efc7
parent 13422 fd6a12de91c7
equal deleted inserted replaced
13943:2eec032757ce 13944:b8c8ce11efc7
    48 
    48 
    49 
    49 
    50 /*
    50 /*
    51  * Haptic system effect data.
    51  * Haptic system effect data.
    52  */
    52  */
       
    53 #if SDL_HAPTIC_DINPUT || SDL_HAPTIC_XINPUT
    53 struct haptic_hweffect
    54 struct haptic_hweffect
    54 {
    55 {
    55 #if SDL_HAPTIC_DINPUT
    56 #if SDL_HAPTIC_DINPUT
    56     DIEFFECT effect;
    57     DIEFFECT effect;
    57     LPDIRECTINPUTEFFECT ref;
    58     LPDIRECTINPUTEFFECT ref;
    58 #endif
    59 #endif
    59 #if SDL_HAPTIC_XINPUT
    60 #if SDL_HAPTIC_XINPUT
    60     XINPUT_VIBRATION vibration;
    61     XINPUT_VIBRATION vibration;
    61 #endif
    62 #endif
    62 };
    63 };
       
    64 #endif
    63 
    65 
    64 /*
    66 /*
    65 * List of available haptic devices.
    67 * List of available haptic devices.
    66 */
    68 */
    67 typedef struct SDL_hapticlist_item
    69 typedef struct SDL_hapticlist_item