Apply missing constants
Yay WinAPI
This commit is contained in:
parent
b35fa162e0
commit
5b4d343df4
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ BOOL HookAllDirectInputDevices(HWND hWnd)
|
|||
directinput_objects.lpDI = lpDI;
|
||||
|
||||
lpDI->AddRef();
|
||||
lpDI->EnumDevices(4, EnumDevices_Callback, &directinput_objects, 1);
|
||||
lpDI->EnumDevices(DIDEVTYPE_JOYSTICK, EnumDevices_Callback, &directinput_objects, DIEDFL_ATTACHEDONLY);
|
||||
|
||||
if (directinput_objects.lpDI != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue