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

Commit

Permalink
Undocumented hack to get all force feedback devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Aug 5, 2008
1 parent b34c0b2 commit 37c62f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -152,7 +152,7 @@ SDL_SYS_HapticInit(void)

/* Look for haptic devices. */
ret = IDirectInput_EnumDevices( dinput,
DIDEVTYPE_DEVICE,
0, /* Not sure if this is legal, but gets all devices. */
EnumHapticsCallback,
NULL, DIEDFL_FORCEFEEDBACK | DIEDFL_ATTACHEDONLY);
if (FAILED(ret)) {
Expand Down

0 comments on commit 37c62f5

Please sign in to comment.