PDA

View Full Version : Keystroke via FSUIPC & wide FS



Renaud Emont
01-01-2005, 08:09 AM
Hi everyone and happy new year !

I began 2005 whith this interesting question :
How to send keystroke via network to FS ? I use PM airbus set, FSUIPC and
wide FS. Keystroke will be generated on a computer handling EPIC cards and
FSCommunicator. I want FS2004 to received it on another computer(for IVAP
squawck activation).
How to ?

Thanks.

Peter Dowson
01-01-2005, 09:25 AM
On 1/1/2005 7:09:06 AM, Renaud Emont wrote:
>Hi everyone and happy new year
>!
>
>I began 2005 whith this
>interesting question :
>How to send keystroke via
>network to FS ? I use PM
>airbus set, FSUIPC and wide
>FS. Keystroke will be
>generated on a computer
>handling EPIC cards and
>FSCommunicator. I want FS2004
>to received it on another
>computer(for IVAP squawck
>activation).
>How to ?

WideClient has a facility to send all keystrokes it receives to FS -- just
one line in the WideClient.ini file is needed (check the Doc). However, for
it to work, WideClient must have the focus.

The only alternative I know of is to write detailed key message data to
offsets 3200-320B. This actually produces the Windows KEY messages which affect
FS.

Regards,

Pete

Renaud Emont
01-02-2005, 05:21 AM
Thanks for the answer. I will use FSUIPC offset 3200. But I don't understand
a word of how to do it ...
3200 message (WM_KEYDOWN or WM_KEYUP)
3204 wParam for the message
3208 lParam for the message
All 12 bytes must be written in one IPC write.
What does this mean ?
Can you explain me how to make a "C" keysent to FSUIPC ?

Peter Dowson
01-02-2005, 08:07 AM
On 1/2/2005 4:21:15 AM, Renaud Emont wrote:
>Thanks for the answer. I will
>use FSUIPC offset 3200. But I
>don't understand a word of how
>to do it ...
>3200 message (WM_KEYDOWN
>or WM_KEYUP)
>3204 wParam for the
>message
>3208 lParam for the
>message
>All 12 bytes must be written
>in one IPC write.
>What does this mean ?
>Can you explain me how to make
>a "C" keysent to FSUIPC ?

What language are you programming this in? I can point you to the Microsoft
C/C++ documentation for the WM_KEYDOWN and WM_KEYUP messages. I don't have
any myself, it is all standard programming. Don't you have any references
their for your language?

Pete

Renaud Emont
01-02-2005, 02:07 PM
I'm using FSCommunicator to talk to FSUIPC. My hardware is EPIC cards.

I'd like to press a button in my system, make an EPL code (EPIC language)
that send a nqw command for FScommunicator. The value of the nqw command will
be sent to FSUIPC offset by FSCommunicator.

So what I want is a value that I can sent to the FSUIPC offset.

How can I do ?