-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Implement SCA_InputEvent attribute helpers.
Previously the user needed to read the values or queue list in an input to know if it was active, inactive, activated or released. To simplify this and avoid the lookup in list from python attributes are added in SCA_InputEvent to do the same, they are: inactive active activated released Note that when they are the status of the input from the last frame so when an input is released then it is both active and inactive.
- Loading branch information
1 parent
f223fff
commit 767b9ad
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
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