src/joystick/win32/SDL_dxjoystick_c.h
branchgsoc2008_force_feedback
changeset 2618 51cadb844a9e
parent 2616 acd5da848404
child 2652 380d926cc5a7
--- a/src/joystick/win32/SDL_dxjoystick_c.h	Wed Aug 06 09:06:41 2008 +0000
+++ b/src/joystick/win32/SDL_dxjoystick_c.h	Wed Aug 06 09:22:36 2008 +0000
@@ -36,7 +36,7 @@
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
-#define DIRECTINPUT_VERSION 0x0500
+#define DIRECTINPUT_VERSION 0x0700 /* Need version 7 for force feedback. */
 #include <dinput.h>
 #ifdef _MSC_VER
     /* Used for the c_dfDIJoystick2 symbol (no imports are used) */