Simulate keypress inside a non-x application...

Hey guys,
I'm looking for a solution to simulate a key-combo (tab+q) inside an amiga-emulator. I've tried it with uinput and python without any success.
Any help would be great.
Cheers
McCarthy

I might seem a little dumb here but what is "tab-q" supposed to do except maybe
quit the emulator and drop you back into a/the command line?

Usually "F12-q" quit the UAE derivatives...

Yeah maybe, but this version (uae4all-pi) uses tab-q...do you have an idea?

Just an idea. a bit of lateral thinking...

I have no idea whether this will work and I am assuming you are using the Debian
derivative core.

How about seeing if you can bring up another console using say Ctrl-Alt-F2 and
killing the emulator app' from that console...

Just an idea using a possible back door...

If this works please let us know...

EDIT:

Just thought that you are not using X so try Alt-Fx where x = (1), 2 to 6 instead.

Mh I'll maybe give it a try, the point is, that I want to control everything with the controller so the keyboard will be obsolete...

What controller?
OK a second bit of lateral thinking(s)...

As we now know you are using some sort of controller how about the controller doing a
hard reset, (or maybe a soft reset), to return you back to the command prompt.

Yeah, it takes time to reboot but get something working first then improve on it.

How about strippng a cheap USB KB for its board and using your controller to short
the two pairs of lines and having a real Tab-Q, assuming Tab-Q actually works.

I made a slow I/O port using an old KB, and it might help with the idea, here:-

BerliOS Download - The Open Source Mediator

(It might point you to SourceForge now though.)

Ignore the 8086 Assembly and MikeBASIC code as this was for a specific application.
It is certainly a back door that gave MikeOS a serial I/O at around 50bps...

Apologies to the Moderators for plugging my stuff...