You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a standard Xbox One controller plugged into my PC but it's not being recognized as a gamepad even though the mapping for it is defined in the GLFW source.
@DeciStudios
I did not. What I can say thought is, I've been using the Odin programming language with it's GLFW bindings and haven't ran into this issue. I do get true from the gamepad check procedure. So if you or anyone else is is still seeing this issue, I believe it to be an issue with this bindings library, not GLFW itself.
I have a standard Xbox One controller plugged into my PC but it's not being recognized as a gamepad even though the mapping for it is defined in the GLFW source.
Here is the code I'm running.
get_guid()
returns78696e70757401000000000000000000
andis_gamepad()
returns false which is strange because I can see that exact GUID defined in the GLFW source at the links below.https://github.com/glfw/glfw/blob/201400b974b63eb7f23eb7d8563589df9c699d7c/src/mappings.h.in#L65
https://github.com/glfw/glfw/blob/201400b974b63eb7f23eb7d8563589df9c699d7c/src/mappings.h#L422
Also, it's the literal GUID mentioned in the documentation below. Search the page for that GUID.
https://www.glfw.org/docs/3.3/input_guide.html#joystick
So why is
.is_gamepad()
returning false?The text was updated successfully, but these errors were encountered: