Jump to content
The simFlight Network Forums

Push to Talk with second yoke button


Recommended Posts

Hi Pete,

Actually I'm using my left yoke button for my IVAO connections.

I'm using this lines in my wideclient.ini:

KeySend1=123,16 ; Press F12

KeySend2=123,24 ; Release F12

UseSendInput=yes

And I've edited FSUIPC too.

All is working fine, but now I would like to assing another yoke button.

The idea is to use left yoke button for public IVAO communications, and right yoke button for private communications with my friends.

F12 key for public and F11 for private.

How can I do it?

Wich lines must I add to wideclient ini?

Perhaps the same?

KeySend1=123,16 ; Press F11

KeySend2=123,24 ; Release F11

UseSendInput=yes

And how can I program in FSUIPC? Same parameters than my actual left button?

PD: Congratulations for this great program!

Regards,

Agusti

agusti747

Link to comment
Share on other sites

Wich lines must I add to wideclient ini?

Perhaps the same?

KeySend1=123,16 ; Press F11

KeySend2=123,24 ; Release F11

UseSendInput=yes

No. If they are the same then they do the same thing. and if you have two lines for "KeySend1" only one will be read in any case. You'd add KeySend3 and KeySend4, and use the code for F11, not F12, obviously. All the keycodes are listed in the documentation.

And how can I program in FSUIPC? Same parameters than my actual left button?

Obviously not as it would then do the same. If you want different functions you assign to the different Keysend parameters -- 3, 4 instead of 1, 2.

BTW you posted the same thing twice. I've deleted the duplicate!

Pete

Link to comment
Share on other sites

Hi Pete,

I have read the manual but I can´t find the way for manage more than one yoke button.

Then the correct code will be:

(In wideclient):

KeySend1=123,16 ; Press F12

KeySend2=123,24 ; Release F12

KeySend3=123,16 ; Press F11

KeySend4=123,24 ; Release F11

UseSendInput=yes

(In FSUIPC):

Keysend 1-255 Parameter 1

Keysend 1-255 Parameter 2

Keysend 1-255 Parameter 3

Keysend 1-255 Parameter 4

It's correct now?

I will try it on monday, thanks Pete!

Yesterday I couldn't see my post and I wrote it again. Sorry for inconvenience!

Regards,

Agustí

Edited by agusti747
Link to comment
Share on other sites

I have read the manual but I can´t find the way for manage more than one yoke button.

What is there to indicate any restriction on the number of buttons at all? Folks have hundreds of buttons programmed through FSUIPC, and you can hve up to 255 separate KeySend assignments for sending actions to WideFS. Why would you think you were restricted to one only?

Then the correct code will be:

(In wideclient):

KeySend1=123,16 ; Press F12

KeySend2=123,24 ; Release F12

KeySend3=123,16 ; Press F11

KeySend4=123,24 ; Release F11

UseSendInput=yes

No! If 123 is the Key Code for the F12 keypress, then all 4 of those assignments press F12. If you want F11 you need to use the Key Code for F11, as I told you!!!

Every key on the keyboard has a different number -- otherwise they would all be seen as the same key which would make the keyboard pretty useless. Don't you see?

Pete

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.