SkyTemple / py-desmume

Python Library and GUI for DeSmuME, the Nintendo DS emulator
GNU General Public License v3.0
25 stars 5 forks source link

Default keyboard buttons not working #16

Open ra314 opened 2 years ago

ra314 commented 2 years ago

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 commented 2 years ago

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

ianvivi13 commented 1 year ago

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 commented 10 months ago

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