mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
Update GLFWController.java
This commit is contained in:
parent
3db1eec998
commit
00deca3360
@ -50,7 +50,9 @@ public class GLFWController implements Controller{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isButtonPressed(int index) {
|
public boolean isButtonPressed(int index) {
|
||||||
return (buttonData.get(index) == 1);
|
if(index < 8){
|
||||||
|
return (buttonData.get(index) == 1);
|
||||||
|
}else return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user