Les manettes devraient maintenant être detectées dans main -> match.java
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user