[SVN] r3904 - branches/gsoc2008_force_feedback/src/joystick/win32

svn-owner at libsdl.org svn-owner at libsdl.org
Wed Aug 6 02:22:36 PDT 2008


Author: bobbens
Date: 2008-08-06 02:22:36 -0700 (Wed, 06 Aug 2008)
New Revision: 3904

Modified:
   branches/gsoc2008_force_feedback/src/joystick/win32/SDL_dxjoystick_c.h
Log:
Need DirectX version 7 or later.


Modified: branches/gsoc2008_force_feedback/src/joystick/win32/SDL_dxjoystick_c.h
===================================================================
--- branches/gsoc2008_force_feedback/src/joystick/win32/SDL_dxjoystick_c.h	2008-08-06 09:06:41 UTC (rev 3903)
+++ branches/gsoc2008_force_feedback/src/joystick/win32/SDL_dxjoystick_c.h	2008-08-06 09:22:36 UTC (rev 3904)
@@ -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) */



More information about the SVN mailing list