Greetings,
We’re try’n to configure a MIP rotary switch (via InterfaceIT and WideFS) – so turning it will chose between different window displays of programs ( Squawkbox, FSC, ServInfo, ) that are running on a extra computer with wideclient.
Our idea to get the switch to selectively reopen different program windows ….. is to make appropriate InterfaceIT actions for the switch, to generate different FSUIPC KeySends, that WideClient would then use to send keypresses to the apt program to reopen its display window. Crystal clear eh?
We made code to do this, but it isn’t work’n yet for reasons unknown. Here’s what we did:
Our thought is to use WideClient to send the Alt + spacebar + Enter keystrokes to a corresponding program, which should trigger restoring the display of that program.
In the WideClient ini, we added code to start the different programs, plus some different KeySends code WideClient will use to generate the Alt + spacebar + Enter keystrokes to the corresponding programs. i.e. :
Run(#)=D:\Program Files\SquawkBox3\squawkbox.exe
KeySend1= 32,12,Run# ; to send alt+spacebar keypress to SB
KeySend2=13,8,Run# ; to send Enter-key keypress to SB
In InterfaceIT we added 2 input actions to generate 2 FSUIPC KeySends, when the rotary is moved into that switch position.
Action 1 - Down / On – FSUIPC, byte offset=330F, data=1
Action 2 - Down / On – FSUIPC, byte offset=330F, data=2
In our testing we couldn’t seem to be getting any keypresses being done at all to the programs
Please give any ideas you might have to help, or tell us where you think we’re go’n wrong.
Thanks
Mike Day