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

Implement collective debounce across all controls on a button binding, along with displays for collective value on bindings #637

Merged

Conversation

TheNathannator
Copy link
Collaborator

The new debounce behaves the same as the one for individual controls: when a value change occurs, it will lock to that new state for the configured amount of time, keeping track of any further state changes during that time. Once that time expires, it will switch back to the tracked state, and when the next input comes in it repeats the process.

All binding types also now have displays for their current value, for parity with the individual bindings and to help with figuring out possible input issues.

image

@jgoyvaerts
Copy link
Contributor

I would put the debounce treshold to a default value of 1/2/5ms as discussed.
Discussion starts here: https://discord.com/channels/1086048856678084609/1095149759691493386/1189550037622075392

@EliteAsian123
Copy link
Member

EliteAsian123 commented Dec 28, 2023

With this PR, I'm unable to add new bindings. Also, the shadows on the drawers looks a little too dark imo

@TheNathannator
Copy link
Collaborator Author

TheNathannator commented Jan 19, 2024

Binding addition should be fixed now. As for the shadows, tbh I can hardly even notice them in the editor lol, if the menu background was more transparent I'd be able to see them.

@EliteAsian123 EliteAsian123 merged commit 3caedda into YARC-Official:dev Jan 21, 2024
@TheNathannator TheNathannator deleted the button-collective-debounce branch January 30, 2024 02:37
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.

3 participants