Merged last minute fixes from force feedback branch (r4031, r4033, r4034)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403162
This commit is contained in:
Sam Lantinga 2008-08-25 10:04:06 +00:00
parent 4fd9c25fe6
commit b77fa81aa1
3 changed files with 14 additions and 13 deletions

View file

@ -188,7 +188,8 @@ SDL_SYS_HapticInit(void)
}
/* Look for haptic devices. */
ret = IDirectInput_EnumDevices(dinput, 0, /* Not sure if this is legal, but gets all devices. */
ret = IDirectInput_EnumDevices(dinput,
0,
EnumHapticsCallback,
NULL,
DIEDFL_FORCEFEEDBACK |