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

Allow stick deadzones to be applied for thumbstick -> button mapping #331

Closed

Conversation

nick-michael
Copy link
Contributor

@nick-michael nick-michael commented Jul 18, 2023

When mapping thumbsticks to buttons the deadzones are ignored. There is an option AxisMinimumPress to control the behaviour, but there is no UI option to actually modify it, so it's hardcoded as 7680.0f and can only be changed by modifying the config JSON directly.

Rather than making a new thumbstick UI with deadzones I figured it made sense to add a boolean checkbox that would allow you to apply your thumbstick deadzones for thumbstick -> button mapping.

I'm not really familiar with drawing UI in C++ so most of the options menu stuff is copied/pasted & modified from existing code. Please shout if it's wrong and let me know what to change 🙏

@Kenix3
Copy link
Owner

Kenix3 commented Jul 20, 2023

@briaguya-ai briaguya-ai mentioned this pull request Jul 20, 2023
@Kenix3
Copy link
Owner

Kenix3 commented Jul 20, 2023

Merged via #332

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