Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Another patch for windows haptic.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jul 31, 2008
1 parent f38e4ed commit 8b0562d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -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
Expand Down Expand Up @@ -189,9 +189,11 @@ SDL_SYS_HapticName(int index)
/*
* 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)
{
Expand Down

0 comments on commit 8b0562d

Please sign in to comment.