markusr Posted March 26, 2005 Report Posted March 26, 2005 Hello, i want to programm a key when its pressed to speak with private voice channel. Therefore a took the F12 key from my pc, where SB ist running. FS is running on an other computer. On the FS PC i definded when a joystick button is pressed it send via FSUIPC to the widefs client a keysend message. th config from the Wide Fs look like this: ; ----------------------------------------------- [user] Log=Errors+ ActionKeys=Yes KeySend1=RWon KeySend2=RWoff KeySend3=123,16 KeySend4=123,24 ; ============================= via keysend 3 and 4 i want to press F12 and release it. But when i push the button on the FS PC, it focus the window on WIDECLIENT and is not performing the F12 Key to send in the private voice channel. what i hve done wrong??? please help me, thanks Markus
Pete Dowson Posted April 2, 2005 Report Posted April 2, 2005 via keysend 3 and 4 i want to press F12 and release it. But when i push the button on the FS PC, it focus the window on WIDECLIENT and is not performing the F12 Key to send in the private voice channel. You either need to tell WideClient where you want to send the keypress (this is easy if you use the Run.... options to load that program, see the Documentation), OR set "UseSendInput=Yes" in the INI file. Please check the WideFS documentation. There are a lot of ways to do this. Which one is best depends on the program concerned, and I simply do not know them all. Regards, Pete
markusr Posted April 4, 2005 Author Report Posted April 4, 2005 Hello Pete, please help me short. my config from the wideclient looks like this: ; PLEASE SEE WideFS documentation for parameter details ; ===================================================== [Config] Port=8002 ServerName=192.168.1.2 Window=32000,32000,112,27 Visible=Yes ButtonScanInterval=20 ClassInstance=0 NetworkTiming=5,1 PollInterval=2000 ResponseTime=18 TCPcoalesce=No UseTCPIP=Yes WaitForNewData=500 ApplicationDelay=0 MaxSendQ=100 OnMaxSendQ=Log NewSendScanTime=50 Priority=3,1,2 UseSendInput=Yes ; ----------------------------------------------- [User] Log=Errors+ Run1=C:\FsAddons\Squawkbox3\squawkbox.exe KeySend1=RWon KeySend2=RWoff KeySend3=123,16,Run1 KeySend4=123,24,Run1 ; =============================================== I added the Run1 and ,Run1 to the lines, but when i push the bnutton its either not working yet. Iam nnot good in programming. Please advice shortly anyone, how i can get my button working to press on the second computer via WideFS the F12 key. thx Mark
Pete Dowson Posted April 4, 2005 Report Posted April 4, 2005 ... my config from the wideclient looks like this: ... UseSendInput=Yes ; ----------------------------------------------- [user] Log=Errors+ Run1=C:\FsAddons\Squawkbox3\squawkbox.exe KeySend1=RWon KeySend2=RWoff KeySend3=123,16,Run1 KeySend4=123,24,Run1 ; =============================================== Two things wrong at first glance. First, the "UseSendInput=Yes" parameter is not a [Config] parameter (which concerns Network operations) but a [user] parameter -- you have it in the wrong section. Second, WideClient is not looking for any keypresses at all, because you missed the important bit: "Make sure you have ActionKeys=Yes as well". It is the ActionKeys parameter which tells WideClient to tell WideServer that it wants to receive key notifications. Not sure why you want the Roger Wilco actions listed too. Are you using RW as well? Regards Pete
markusr Posted April 4, 2005 Author Report Posted April 4, 2005 hi pete, tried this one [Config] Port=8002 ServerName=192.168.1.2 Window=32000,32000,112,27 Visible=Yes ButtonScanInterval=20 ClassInstance=0 NetworkTiming=5,1 PollInterval=2000 ResponseTime=18 TCPcoalesce=No UseTCPIP=Yes WaitForNewData=500 ApplicationDelay=0 MaxSendQ=100 OnMaxSendQ=Log NewSendScanTime=50 Priority=3,1,2 ; ----------------------------------------------- [User] UseSendInput=Yes ActionKeys=Yes Log=Errors+ Run1=C:\FsAddons\Squawkbox3\squawkbox.exe KeySend1=RWon KeySend2=RWoff KeySend3=123,16,Run1 KeySend4=123,24,Run1 ; =============================================== no luck. its not transmittig. no idont use RW but SB 3 to transmitt voice. I took the pdf in the widefs zip file with programming PTT. So its working for the COM Voice, but not for the private voice.... :roll: greetings Mark
Wise87 Posted April 4, 2005 Report Posted April 4, 2005 Here is what I have setup on my system using WideFS and the CH Flight Sim Yoke. I have the left trigger button for COM Channels and I have the right trigger for Private Channels. FSUIPC [buttons] 1=R0,0,C1006,1 2=U0,0,C1006,2 3=R0,1,C1006,3 4=U0,1,C1006,4 WIDECLIENT [user] Log=Errors+ ActionKeys=Yes UseSendInput=Yes KeySend1=RWon KeySend2=RWoff KeySend3=144,16 ; Press Numlock KeySend4=144,24 ; Release Numlock On the #3 and #4 options, I use the Numlock Key. You can use what ever key you want. I also have Numlock set for my PVT Channel in SB3. First program FSUIPC with the buttons you want to use. Make sure you select the Keysend FSUIPC 1-225 option in the menu. Your first button will be #1 and #2, your second button will be #3 and #4. Then all you have to do is setup Wideclient with the key you want to use on #3 and #4. I hope this helps.
Pete Dowson Posted April 4, 2005 Report Posted April 4, 2005 [user] UseSendInput=Yes ActionKeys=Yes Log=Errors+ Run1=C:\FsAddons\Squawkbox3\squawkbox.exe KeySend1=RWon KeySend2=RWoff KeySend3=123,16,Run1 KeySend4=123,24,Run1 ... no luck. its not transmittig. no idont use RW but SB 3 to transmitt voice. I took the pdf in the widefs zip file with programming PTT. So its working for the COM Voice, but not for the private voice.... :roll: I don't unserstand what you are saying at the end there, but you should know that "UseSendInput" was added for TeamSpeak and doesn't need or use "directed" KeySends -- i.e. the ",Run1" part at the end is not used with SendInput. The SendInput works in one of two cases: 1) the program intended to receive the keypress has the keyboard focus, or 2) the program is grabbing the Key in any case as a Windows Hot Key. TeamSpeak is of the latter type. I do not know what SB3 are doing so I cannot tell you how to make it work, but you could try removing the UseSendInput parameter and leaving the rest intact. I have also been assuming, of course, that you actually do have something programmed in the Server or FSUIPC to send KeySends 3 and 4? You've not shown me that part. In the end I think you may have to get help from an SB3 user or programmer who knows how to use its PTT. Regards, Pete
markusr Posted April 6, 2005 Author Report Posted April 6, 2005 Hello Wise 87, thanks tried it with this lines. its working. i resetted it back to my old F12 keymap, thats not working.... strange... WIDECLIENT [user] Log=Errors+ ActionKeys=Yes UseSendInput=Yes KeySend1=RWon KeySend2=RWoff KeySend3=144,16 ; Press Numlock KeySend4=144,24 ; Release Numlock thanks for help all. greetings Markus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now