Mercurial > sdl-ios-xcode
changeset 2570:53bb7d21928d gsoc2008_force_feedback
Another patch for windows haptic.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Thu, 31 Jul 2008 16:16:19 +0000 |
parents | 806919b319d4 |
children | 6b29d9f267be |
files | src/haptic/win32/SDL_syshaptic.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/haptic/win32/SDL_syshaptic.c Thu Jul 31 16:13:37 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Thu Jul 31 16:16:19 2008 +0000 @@ -32,7 +32,7 @@ #define WIN32_LEAN_AND_MEAN #include <windows.h> -#define DIRECTINPUT_VERSION 0x0500 +#define DIRECTINPUT_VERSION 0x0700 /* Need at least DirectX 7 for dwStartDelay */ #include <dinput.h> #include <dxerr9.h> /* From DirectX SDK 9c */ #ifdef _MSC_VER @@ -189,9 +189,11 @@ /* * Callback to get all supported effects. */ +/* #define EFFECT_TEST(e,s) \ if (pei->guid == (e)) \ haptic->supported |= (s) +*/ static BOOL CALLBACK DI_EffectCallback(LPCDIEffectInfo pei, LPVOID pv) {