-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller issue on GLFW's end #43
Comments
We can of course patch this issue on our end and make a PR on the upstream since we are building from source. Have you been able to identify where the bug originates from? Also could you provide steps on how the bug is produced? Also can you detail exactly what the bug is? |
Yes so basically you've got all those defines in glfw3.h : #define GLFW_GAMEPAD_BUTTON_A 0 But the |
@Kouros26 Could you also detail exactly what kind of controller you have? Xbox 360? Xbox One? Xbox Pro? |
Also could you detail where this code is located inside of glfw? And can you also detail in your own branch where the issue is arising? |
Also can you provide your system specs along with OS version. |
I will also try to reproduce the bug sometime this week to see if this is a reproducible issue. |
Exact same as the one he showed (I think it's an Xbox One X controller) and I got another Xbox Series X controller. So @karnkaul if I understand correctly you don't use the defines I showed earlier ? If not then I might just stop using them, they're probably what's causing the issue |
Yes I'm going to setup a branch with some tests on it so you can see the issue for yourselves.
|
I do use them, but I don't know if/how GLFW treats them differently in the joystick vs gamepad APIs. IIRC the joystick API is more low level, and the buttons and axes are in the order presented by the OS. The gamepad API remaps those raw inputs to named buttons and axes, if available in the DB. I'll link the docs around this: (Emphasis added)
|
Ok I see, I remember messing with that but something wasn't right, I'll take another look at it tomorrow, might resolve the problem, thanks |
Any updates on this issue @Kouros26 ? |
tested and researched some stuff but I didn't go further than that yet, I've had very little time to work on this project since I've started moving out |
The issue still persists, I used a hack to counter the problem for the time being but it's definitely suboptimal (erased the existence of the
back
button).The text was updated successfully, but these errors were encountered: