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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.