Jump to content
The simFlight Network Forums

Running out of key presses. RSHFT RCTRL RALT?


mtjoeng
 Share

Recommended Posts

This was asked a while ago, I think, vaguely,

tried RCTR, RCTRL+ RSHIFT etc key presses but these dont translate,
these DO show correctly in the SET and review box, but not in the .ini

MSFS supports right modifiers, so FSUIPC should also?

 

 

Link to comment
Share on other sites

6 minutes ago, mtjoeng said:

tried RCTR, RCTRL+ RSHIFT etc key presses but these dont translate,
these DO show correctly in the SET and review box, but not in the .ini

MSFS supports right modifiers, so FSUIPC should also?

I thought I had added support for this a while ago (except for alt - I think I removed this as using the alt key can cause issues), but I will check...

Link to comment
Share on other sites

21 hours ago, John Dowson said:

I thought I had added support for this a while ago

No sorry, I was mistaken in this. I added support to send left/right ctrl & shift, but not for assignments. This was implemented to support assigning button/switch assignments to key presses assigned in MSFS (as some controls only work in MSFS, such as camera controls). 
It will be very difficult to add support for left/right shift/ctrl/alt as currently I only allow 1 byte (8 bits) to handle the modifier key, and 7 bits are already taken/used -  from the User manual:

Quote

The format of each entry in the Keys section is as follows:
      n=key,shifts,control,parameter
for a key press action only, or
      n=key,shifts,control1,parameter1,control2,parameter2
for a key with press (1) and release (2) actions.

Here n can run from 0 to 1023 (i.e. maximum 1024 different keystroke actions can be added),
    key virtual keycode, as in the FS CFG file (see list above, in the section about Buttons).
            Note: If the key press automatic repeats are to be ignored, this code is preceded by the letter ‘N’.

    shifts 8        normal
              +1      shift
              +2      control
              +4      alt (not really very useful)
              +16    tab (an added "shift" to give more combinations)
              +32   Windows key (left or right)
              +64   Menu key (the application key, to the right of the right Windows key)


So you can only have a maximum of 1024 key assignments. There are around 80 (rough guess) non-modifier key codes, so with the 6 (or maybe 5) modifiers currently provided, that allows for around 480/400 distinct assignments. Do you really need more than this?

Another issue with switching to left/right modifiers would be in handling existing assignments, which I would need to think about...

So, all-in-all, I don't think this is going to happen, at least any time soon. It will be a lot of work for little benefit, as far as I can see. There is a lot more additional functionality that would be more useful for most folks, so I won't be considering this for the time being.

Sorry about that.

Regards,

John

Link to comment
Share on other sites

This is for use with VoiceAttack voice commands. VoiceAttack uses only Left/Right- Shift Control Alt Win modifiers, Tab and Menukey are simply secondary keys in VoiceAttack and Winkey not quite usable in Windows 10 because of the added Windows 10 Winkey shortcut keys (Taskbar progs), which leaves only 3 usable Left modifiers, which run short when one wants to make easy rememberable shortcuts with alphabet reference.

Is why.

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi @mtjoeng

I have been looking at the key assignments again and they are currently a bit of a mess...
I am going to add support for right shift/ctrl/alt keys, and remove support for the windows key (as this cannot be used anyway).
I can post you an updated version here for you to test in a day or so, if you would like to try/beta test this for me.

Also note that you can also use the tab key as a modifier in FSUIPC, which also extends the number of assignable keys.

John

Link to comment
Share on other sites

Hi @mtjoeng,

please try the attached version, v7.3.4d. Download and replace your current FSUIPC7.exe with this one.
Note that any previous key assignments using the shift, ctrl or alt modifiers will now use the left keys. You could previously assign to right shift and ctrl (but not alt) but these assignments were not correct - if you have any such assignment then the modifier key will be removed, so maybe best to just remove these (from your FSUIPC7.ini) file beforehand, if you have any.

Maybe also take a backup of your FSUIPC7.ini first, just in case.

John

FSUIPC7.exe

Link to comment
Share on other sites

downloaded, random quick tests on the ground, seems to work

(had some weird path issue, WASM not listing,

had to click Filemanager (TotalCommander) to enter folders /Utils /EventFiles /HvarFiles - FSUIPC_WAPID.dll path? - after which lists showed up,

I'll check some more with system reboot later, prob that, flysimware aircraft cessna 414a uses list of LVar command in Lua control file, and does not work with this WASM error, but does when folders accessed - ? how ? - )

Thx better test tonight after system Reboot

Link to comment
Share on other sites

5 minutes ago, mtjoeng said:

WASM not listing,

What does this mean?

5 minutes ago, mtjoeng said:

had to click Filemanager (TotalCommander) to enter folders /Utils /EventFiles /HvarFiles - FSUIPC_WAPID.dll path? - after which lists showed up,

I'll check some more with system reboot later, prob that, flysimware aircraft cessna 414a uses list of LVar command in Lua control file, and does not work with this WASM error, but does when folders accessed - ? how ? - )

I don't understand this either...

What version of FSUIPC were you previously using? If not 7.3.3, download and install that first (to also update the WASM), and then download the 7.3.4d version above again and use that to replace the 7.3.3 FSUIPC7.exe.

If you weren't previously using 7.3.3, then your currently installed WASM is probably out-of-date.

John

Link to comment
Share on other sites

(Test fresh Reboot, WASM list shows up first check)
(my Windows 10 PC does weird sometimes with 150 Firefox tabs open, after long documents, a spreadsheet, a couple of video's running and a list of background operations and such)

for instance LAlt+RShift+RCtrl+Z set to trigger Cessna 414 Lua Control Autopilot Toggle works OK
tested a dozen more
my Logitech keyboard has a right "Alt GR" key, that works,
f.i LAtl+RAlt+R set to trigger Cessna 414 Lua Control Auto Altitude Arm Toggle works OK

(Set Alt+F / Ralt+F does not work, triggers FSUIPC window 🙂)

ample possibilities now, I'll reprogram and add to my VoiceAttack profile, everything seems to work

great job THX

Downloaded v7.3.4d

 

Link to comment
Share on other sites

24 minutes ago, mtjoeng said:

(Set Alt+F / Ralt+F does not work, triggers FSUIPC window 🙂)

Alt + F (left or right) is the default hot-key for opening the FSUIPC main window. If you want to use that for something, you can change it - see the User Manual.

22 minutes ago, mtjoeng said:

Did you get the PMDG 737?

No, but I have received several support requests about this. I am trying to get some information from PMDG about this, yo see if they are providing the additional offset data as they do for P3D/FSX versions...

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.