it's at:
|
return SUCCEEDED(DInput->EnumDevices(DIDEVTYPE_JOYSTICK, DInputEnumDevicesCallback, (LPVOID)joystickList, DIEDFL_ATTACHEDONLY)); |
There is no chech for DX5 there.
The right value for DX8 input is: DI8DEVTYPE_JOYSTICK (it have maybe the same value for it to work normally)