alexchard Posted August 22, 2023 Report Posted August 22, 2023 Hello, I am trying to set up multiple PTT Switches in my Simulator using MSFS, FSUIPC and VPilot. I have 3 Buttons assigned to press the "Oemtilde" key however when I tick the "Key Press to repeat while held" check box it does not apply the setting when I press OK? Does anyone have any idea why this might be happening? I've attached my FSUIPC7.ini file. Thanks, Alex Chard FSUIPC7.ini
John Dowson Posted August 23, 2023 Report Posted August 23, 2023 13 hours ago, alexchard said: I have 3 Buttons assigned to press the "Oemtilde" key however when I tick the "Key Press to repeat while held" check box it does not apply the setting when I press OK? This is because you have assigned to send the key press (@key) on button release - you are not sending any keys on button press: Quote 1=UB,6,K192,8 -{Key press: '@key}- 2=UB,4,K192,8 -{Key press: '@key}- 3=UJ,0,K192,8 -{Key press: '@key}- If you want to send the key repeatedly while the button is being held, you need to assign on the button press not release.
alexchard Posted August 23, 2023 Author Report Posted August 23, 2023 Sorry you are absolutely right! My apoligies for being stupid! All working now. Regards, Alex Chard
alexchard Posted August 23, 2023 Author Report Posted August 23, 2023 John, is it possible to have one button press that can send two Keyboard commands at the same time?
John Dowson Posted August 23, 2023 Report Posted August 23, 2023 6 minutes ago, alexchard said: John, is it possible to have one button press that can send two Keyboard commands at the same time? Yes - just comment out the first assignment in your ini (i.e. insert a semi-colon after the = sign on the assignment line in your FSUIPC7.ini) when you have the the button assignments panel open, then press the Reload all buttons button once you have saved the changes. Next, assign the second keypress to the button then click Ok. Then, open the button assignments panel again, remove the semi-colon you inserted to comment-out the first assignment in your FSUIPC7.ini and save the file, then click the Reload all buttons button again. Or you can just duplicate the assignment line in your ini, update the assignment line number to make it unique, and then change the key code (the number after the K) to the key code of the key you want to send - no point changing the comment as this will get rewritten based upon the actual assignment. John
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