Fix #696: return string for glfwGetGamepadName

This commit is contained in:
khanhduytran0 committed 2024-06-09 21:53:15 +07:00
1 parent 060b11f9c5
commit 77fa8b1c99
1 file changed
+1 -1
@@ -1206,7 +1206,7 @@ public class GLFW
return false;
}
public static String glfwGetGamepadName(int jid) {
return null;
return "Unknown";
}
public static boolean glfwGetGamepadState(int jid, GLFWGamepadState state) {
return false;