Les manettes devraient maintenant être detectées dans main -> match.java

This commit is contained in:
Antoine
2021-06-11 15:55:08 +02:00
parent 913adb8d92
commit e2586cbcd2
2 changed files with 4 additions and 67 deletions

View File

@ -82,9 +82,6 @@ public class Engine {
this.setWindow(glfwCreateWindow(width, height, "Boulevard Combattant", NULL, NULL));
assert getWindow() != NULL;
boolean present = glfwJoystickPresent(GLFW_JOYSTICK_1);
System.out.println("Manette détectée: " + present);
// On récupère les informations du moniteur principal
GLFWVidMode vidmode = glfwGetVideoMode(glfwGetPrimaryMonitor());
assert vidmode != null;