Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong DIDEVTYPE_JOYSTICK enum for DirectX Input 8 #32

Open
TokyoSU opened this issue Mar 13, 2022 · 1 comment
Open

Wrong DIDEVTYPE_JOYSTICK enum for DirectX Input 8 #32

TokyoSU opened this issue Mar 13, 2022 · 1 comment

Comments

@TokyoSU
Copy link

TokyoSU commented Mar 13, 2022

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)

@TokyoSU
Copy link
Author

TokyoSU commented May 26, 2022

fixed in #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant