Posted by tomfox on 20, 2001 at 3:26 PM:
In Reply to: serial interface software posted by tomfox on 19, 2001 at 6:27 PM:
: I have a serial infrared receiver I want to hookup to mame. Therfore I need to simulate keystrokes. Has anyone come across a software that interacts with mame32's directx interface ?
: How can keystrrokes be simulated under mame32.
: Tom
Hi Dave,
I have an infrared controlpanel (made of an old tv-remote control) I want to play mame from. The receiver of this remote control hooks up to the serial port.
From the serial port windows receives keycodes.
Now how do I make mame react to those keycodes (i.e. pushing the "volume louder" button on my remote control -> make a jump in Crazy Kong).
I assume the only way is to redirect the received keycode to the keyboard queue so mame32 thinks I pushed a button on my ps2 keyboard.
So the question is how do I access mame32's input queue (mame32 expects directx keyboard commands).
Tom