Need DirectX version 7 or later. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Wed, 06 Aug 2008 09:22:36 +0000
branchgsoc2008_force_feedback
changeset 2618 51cadb844a9e
parent 2617 a168397d6549
child 2619 fb71df34124f
Need DirectX version 7 or later.
src/joystick/win32/SDL_dxjoystick_c.h
--- 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) */