Generating joystick messages
Posted on 2006-10-22
I have a need to generate Windows joystick messages. Basically I have an industrial analog input card, and need to transmit the data to Macromedia Director. The standard Windows joystick input is not reliable enough for us to connect directly to that (there's a lot of jitter on the input), hence the need for a 'real' analogue card.
My plan is to write the code in Delphi to read the input card (no problems doing that), and then send joystick X axis commands. Director can read that information easily. Getting Director to do this directly (so to speak) would be a bit of a nightmare I'm told.
So, anyone got any ideas on how I can generate joystick messages (a bit like you can generate mouse or keyboard events)? I've looked all over the net and MSDN and can't find anything.