mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-20 17:47:03 -04:00
Add ability to retreive gamepadButton state
This commit is contained in:
@@ -35,5 +35,8 @@ public class GamepadButton {
|
||||
public void resetButtonState(){
|
||||
isDown = false;
|
||||
}
|
||||
public boolean isDown(){
|
||||
return isToggleable ? toggled : isDown;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user