changeset 2618:51cadb844a9e gsoc2008_force_feedback

Need DirectX version 7 or later.
author Edgar Simo <bobbens@gmail.com>
date Wed, 06 Aug 2008 09:22:36 +0000
parents a168397d6549
children fb71df34124f
files src/joystick/win32/SDL_dxjoystick_c.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) */