Emulate sending of DirectInput messages?

Blitz3D Forums/Blitz3D Programming/Emulate sending of DirectInput messages?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is it possible in Blitz to emulate keypresses or button presses from a connected pad?

I guess I need to send DirectInput messages the the relevant HWnd, and this would be via DLL.

Is there a DLL available to do this already (I know BlitzSys has a PostMessage() function which may be able to do it, but I`m lost at which API I need to be using to send the correct messages...

Thanks in advance...