mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 17:15:40 -04:00
Add ability to retreive gamepadButton state
This commit is contained in:
parent
b86de4db95
commit
331a637e19
@ -35,5 +35,8 @@ public class GamepadButton {
|
||||
public void resetButtonState(){
|
||||
isDown = false;
|
||||
}
|
||||
public boolean isDown(){
|
||||
return isToggleable ? toggled : isDown;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user