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

Default keyboard buttons not working #16

Open
ra314 opened this issue Oct 19, 2021 · 3 comments
Open

Default keyboard buttons not working #16

ra314 opened this issue Oct 19, 2021 · 3 comments

Comments

@ra314
Copy link

ra314 commented Oct 19, 2021

Hello I have basically the same code as in https://py-desmume.readthedocs.io/en/latest/quick_start.html but the only button that works of the default bindings if when I press x. Do you have any idea what might be going on?

@theCapypara
Copy link
Member

Hi, sorry I'm not sure why. You could try processing the input yourself.

@ianvivi13
Copy link

Have you found a fix to this issue? I managed to work around the issue by having the program "press" the key instead (which is what I ultimately want to do anyway), but it would be nice if I could take over with manual controls if there is an issue

@mike8699
Copy link
Contributor

mike8699 commented Nov 4, 2023

I had this same issue, and also had a problem with the touch screen getting stuck as "pressed" after clicking once. I ended up manually implementing button presses/touch screen manually with the keyboard module and some windows mouse APIs; I'll share the code here in case anyone finds it helpful -

https://gist.github.com/mike8699/8398c56a44f883e14f4f98be86cd55fc

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

4 participants