Still hacking on the plugin, this time, doing a new external library, WindowUtils, which will currently have two high level functions
GetWindowIDFromTitle() - Gets the Window # from a title fragment. This is used to find the MAME window.
SendKeystrokeToWindowID() - This uses XSendEvent to pass keystrokes to the emulator window. I use XSendEvent _BECAUSE_ the orbiter window may not be in focus at all times, and I need to be able to periodically send events (for example, Screenshot, to grab a video frame.)
work progresses onward, also having to deal with my health, so i am taking this slow.
This may if it becomes mature enough, be a nice replacement for the wmctrl calls all over Orbiter.
-Thom