Skip to content
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

GameCube controller input not working as expected #47

Open
rkline122 opened this issue Oct 21, 2023 · 2 comments
Open

GameCube controller input not working as expected #47

rkline122 opened this issue Oct 21, 2023 · 2 comments

Comments

@rkline122
Copy link

I'm not sure if there is something wrong on my end or if this is a bug, but I'm having a hard time getting programmatically setting inputs to a GameCube controller.

My code:

image

Console output:

image

Dolphin Controller Settings:

image

Let me know if you need any more information about my setup. Thanks!

@rkline122
Copy link
Author

Works in game, just not in the logs

@Felk
Copy link
Owner

Felk commented Oct 23, 2023

Thanks for reporting this. Albeit not very critical because it's "cosmetic", this definetely is an issue. It stems from the fact that I was kinda lazy and implemented "get_xyz_buttons" by just saving and returning the previously seen inputs. Because set_xyz_buttons practically just queues them for the next input poll, their effect is not visible immediately. But this behaviour is not very intuitive, so I'll consider this a valid bug 👍

@Felk Felk reopened this Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants