Skip to content

Commit

Permalink
Implement collective debounce across all controls on a button binding…
Browse files Browse the repository at this point in the history
…, along with displays for collective value on bindings (#637)

* Add parameter serialization for control bindings

* Factor out debounce timer into its own class

* Allow debouncing collectively across all bindings on a button

* Organize and clarify names of single-bind views

* Use control's press point for determining whether or not to write it

* Give each binding type its own bind header (and rename headers to groups)

* Contain binding views into their respective groups, and make groups collapsible

* Improve performance of switching game mode tabs somewhat

* Don't forget to update collective debounce on each frame

* Add overall current value displays to bind groups under a settings drawer

* Add debounce to button bind group settings

* Separate button press indicators into a dedicated component

* Change the icon used for the bind settings button

* Change default debounce to 5 ms

* Fix some comment ordering

* Fix add bind dialog not working correctly

* Don't forget to apply binding parameter defaults to new bindings
  • Loading branch information
TheNathannator authored Jan 21, 2024
1 parent b593eec commit 3caedda
Show file tree
Hide file tree
Showing 62 changed files with 5,687 additions and 1,364 deletions.
4 changes: 2 additions & 2 deletions Assets/Art/Menu/Common/Icons/AssortedIcons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 44 additions & 1 deletion Assets/Art/Menu/Common/Icons/AssortedIcons.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Prefabs/Menu/ProfileInfo/EditBinds/BindGroups.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3caedda

Please sign in to comment.