src/haptic/windows/SDL_dinputhaptic.c
changeset 9661 62a04df5afe1
parent 9658 9753468b5c0e
child 9662 932e57cf5648
equal deleted inserted replaced
9660:b7188b6a6f2a 9661:62a04df5afe1
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "../../SDL_internal.h"
    21 #include "../../SDL_internal.h"
    22 
    22 
       
    23 #include "SDL_error.h"
       
    24 #include "SDL_haptic.h"
       
    25 
    23 #if SDL_HAPTIC_DINPUT
    26 #if SDL_HAPTIC_DINPUT
    24 
    27 
    25 #include "SDL_error.h"
       
    26 #include "SDL_stdinc.h"
    28 #include "SDL_stdinc.h"
    27 #include "SDL_haptic.h"
       
    28 #include "SDL_timer.h"
    29 #include "SDL_timer.h"
    29 #include "SDL_windowshaptic_c.h"
    30 #include "SDL_windowshaptic_c.h"
    30 #include "SDL_dinputhaptic_c.h"
    31 #include "SDL_dinputhaptic_c.h"
    31 #include "../SDL_syshaptic.h"
    32 #include "../SDL_syshaptic.h"
    32 #include "../../joystick/windows/SDL_windowsjoystick_c.h"
    33 #include "../../joystick/windows/SDL_windowsjoystick_c.h"
  1178     return 0;
  1179     return 0;
  1179 }
  1180 }
  1180 
  1181 
  1181 #else /* !SDL_HAPTIC_DINPUT */
  1182 #else /* !SDL_HAPTIC_DINPUT */
  1182 
  1183 
       
  1184 typedef struct DIDEVICEINSTANCE DIDEVICEINSTANCE;
       
  1185 
  1183 int
  1186 int
  1184 SDL_DINPUT_HapticInit(void)
  1187 SDL_DINPUT_HapticInit(void)
  1185 {
  1188 {
  1186     return 0;
  1189     return 0;
  1187 }
  1190 }