-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved control-action binding model
Input devices generate input events for their controls, where a "control" is the physical button/stick/mechanism that actually generated the event. ControlManagers bind actions to these controls, and any input events for that control will be tagged with the action. The engine can then filter the input event stream by action to get the relevant input events. This decouples device controls from engine actions, which makes it easier to later implement control remapping.
- Loading branch information
1 parent
8a3df29
commit 485c6f7
Showing
7 changed files
with
250 additions
and
78 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ glam = "0.25.0" | |
vma = "0.3.1" | ||
image = "0.24.8" | ||
gilrs = "0.10.4" | ||
enumflags2 = "0.7.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.