Affiche le controleur utilisé par chaque joueur

This commit is contained in:
Antoine
2021-06-11 16:03:51 +02:00
parent e2586cbcd2
commit 6ac2db30ea
2 changed files with 7 additions and 2 deletions

View File

@ -106,5 +106,9 @@ public class GamepadInput {
return new Vector3f(x,y);
}
public String getGamepadName(){
return glfwGetJoystickName(this.gamepadNum);
}
}