fn int getGlfwGamepadState(int jid, GlfwGamepadState* state) @cname("glfwGetGlfwGamepadState");
should be
fn int getGamepadState(int jid, GlfwGamepadState* state) @cname("glfwGetGamepadState");
Does not link correctly with that name.
https://www.glfw.org/docs/latest/group__input.html#gadccddea8bce6113fa459de379ddaf051
fn int getGlfwGamepadState(int jid, GlfwGamepadState* state) @cname("glfwGetGlfwGamepadState");should be
fn int getGamepadState(int jid, GlfwGamepadState* state) @cname("glfwGetGamepadState");Does not link correctly with that name.
https://www.glfw.org/docs/latest/group__input.html#gadccddea8bce6113fa459de379ddaf051