Jump to content
The simFlight Network Forums

Ability to cycle keystrokes?


Recommended Posts

Hello, I'm sure I am missing some FAQ, but I have been unable to figure out if FSUIPC allows me to cycle thru "Key-combinations ex.(CTRL+TAB+etc 1, etc 2, etc 3)" using one button?

You can do it -- one of two ways in fact:

1. Editing button assignments in the INI file, making multiple assignments for those keystrokes, each conditional on an offset value which you would also, on the same button press, increment cyclcically using the "Offset Byte Cyclic Inc" control. You can use the free user offset x66C0 for that. Details of parameter formats for all these things are in the FSUIPC Advanced User's document.

or

2. Have a little Lua plug-in script invoked by the button which sends the keystroke depending on a Global Lua value which is incremented also. The Lua facilities are documented in the separate Lua packaging installed with the rest of the FSUIPC documentation.

Personally I prefer the latter as it is cleaner and should be easier to formulate and understand.

Regards

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.