mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 01:27:18 -04:00
Merge pull request #89 from AngelAuraMC/fix/l4j-glfw-controller-detection
fix: Legacy4J GLFW controller enable
This commit is contained in:
commit
07f23b938b
@ -1269,8 +1269,10 @@ public class GLFW
|
||||
}else return null;
|
||||
}
|
||||
public static boolean glfwJoystickIsGamepad(int jid) {
|
||||
if(jid == GLFW_JOYSTICK_1) return true;
|
||||
else return false;
|
||||
if(jid == GLFW_JOYSTICK_1) {
|
||||
CallbackBridge.enableGamepadDirectInput();
|
||||
return true;
|
||||
}else return false;
|
||||
}
|
||||
public static String glfwGetJoystickGUID(int jid) {
|
||||
// Return Xbox 360 controller GUID
|
||||
|
Loading…
x
Reference in New Issue
Block a user