Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix USB class declaration #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmadison
Copy link

This was defined as "XInput" but it's used as "XInputUSB". It's referenced within the XINPUT class (send/receive) and as extern in the usb_xinput header. This fixes things so the names match, and also fixes issues related to naming your XINPUT object "XInput".

I'm not entirely sure why this still compiled with the wrong declaration. My best guess is that it was optimized away as the class is all inline anyways.

This was previously defined as "XInput" but used elsewhere as "XInputUSB". Seemed to work fine with optimization, but this makes the declaration consistent with other usage.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant