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 disabled analog sticks #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

underscoreglook
Copy link

For the analog sticks, give default values of 127, as 0 is not centered, so will give full tilt value if disabled.

@DecoderCoder
Copy link

DecoderCoder commented Mar 11, 2019

Thanks for your work.

by the way, for my joystick i replaced
for (int i = 1; i <= dev.joystick.Capabilities.AxesCount; i++)
in ControllerOptions.cs | Line 48
on
for (int i = 1; i <= dev.joystick.Capabilities.AxesCount + 1; i++)

and i could add 6 Axes and it worked nice

@underscoreglook
Copy link
Author

Thanks, though based on your comment, I'm not totally sure what changed to get 6 Axes to work, the two pieces of code look identical.

@DecoderCoder
Copy link

DecoderCoder commented Mar 13, 2019

Thanks, though based on your comment, I'm not totally sure what changed to get 6 Axes to work, the two pieces of code look identical.

My misstake :D. I added + 1

And i need to hide original gamepad, but i don't know how to use SlimDX :(

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.

None yet

2 participants