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

Fix POV bugs, simplify buttons #1

Merged
merged 3 commits into from
Jul 7, 2013

Conversation

unknownbrackets
Copy link

This just resends all four cardinal directions each time for the POV. It's basically the same as the crosspad (the on-screen one.) It only sends on change, so the keyboard still works.

Includes a merge (so a bunch of noise) to make sure virtual keys work. Just look at the commits after the merge one (there are only 3.)

I set the pad button names based on my controller since I wasn't sure what order they were in for most people, but it might be best to calibrate it to whatever most popular controllers, or even use "button 0" etc. like some games do.

-[Unknown]

Only resends on change.  DirectInput is all about polling, unfortunately.
We could use a separate thread and wait on events...
thedax pushed a commit that referenced this pull request Jul 7, 2013
Merge pull request #1 from unknownbrackets/dinput-fix
@thedax thedax merged commit b6bad32 into thedax:directinputUpdate Jul 7, 2013
@unknownbrackets unknownbrackets deleted the dinput-fix branch July 7, 2013 20:52
thedax pushed a commit that referenced this pull request Jul 29, 2013
thedax pushed a commit that referenced this pull request Jul 29, 2013
thedax pushed a commit that referenced this pull request Jul 29, 2013
thedax pushed a commit that referenced this pull request Aug 17, 2013
thedax pushed a commit that referenced this pull request Aug 31, 2013
thedax pushed a commit that referenced this pull request Feb 25, 2014
thedax pushed a commit that referenced this pull request Jan 29, 2015
If we returned the same reg it was in before, don't zap the slots because
slot #1 may be valid.
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

Successfully merging this pull request may close these issues.

2 participants