Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script for key press inconsistent
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.

Forum Jump:

Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.