Jump to content

Send() with RetroArch


Recommended Posts

First I want to explain that this will be no gaming script. I'm doing a script that will enable all shaders, one after another, to take a screenshot of each one. To compare them and so on. Also RetroArch is single player, so it shouldn't matter that much anyway I suppose.

So to my issue: the Send() function doesn't seem to work at all in RetroArch. Send("DOWN") for example does nothing. Is there a way I can somehow force RetroArch to listen to AutoIt's Send() functions?

Link to comment
Share on other sites

Link to comment
Share on other sites

My guess is that RetroArch listens directly to the hardware on a lower level, so the virtual key events sent by AutoIt are useless. If this is true, your best bet is to use a virtual keyboard driver which emulates a physical keyboard. No idea if such a thing exists in the wild yet.

Also, I don't think RetroArch exposes an interface which UIAutomation could use.

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

1 hour ago, TheDcoder said:

My guess is that RetroArch listens directly to the hardware on a lower level, so the virtual key events sent by AutoIt are useless. If this is true, your best bet is to use a virtual keyboard driver which emulates a physical keyboard. No idea if such a thing exists in the wild yet.

Also, I don't think RetroArch exposes an interface which UIAutomation could use.

That could be the case. But I hope not. 🤔

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...