09-20-2023, 02:05 PM
I'm having an issue with creating a script that simulates a press of the X key (where I use my A button) to work consistently with mGBA.
I need it to be an external script that activates the mGBA window and presses X. The window activation part works everytime, but the key press only works around 1/5 of the time.
This key press works everywhere else such as chat boxes, so I know it's solid. It's only inconsistent with the emulator. I have tried multiple scripts, and used python, AutoIt and autohotkey. The result is always the same - the key press works only sometimes.
Any idea why this might happen? Thanks in advance.
I need it to be an external script that activates the mGBA window and presses X. The window activation part works everytime, but the key press only works around 1/5 of the time.
This key press works everywhere else such as chat boxes, so I know it's solid. It's only inconsistent with the emulator. I have tried multiple scripts, and used python, AutoIt and autohotkey. The result is always the same - the key press works only sometimes.
Any idea why this might happen? Thanks in advance.