Jump to content
The simFlight Network Forums

Need paramater for key press of NUM + and NUM - keys


Recommended Posts

Hi,

Looked everywhere and it is no easy task to find specifically what I am looking for.  I have an old but reliable FS9 running the PSS A320, I found a previous user (from years ago posting) in which you mentioned to try using the range parameter sections of the axis assignment  to force the NUM + and - keys.  I really find quite confusing and not straight forward the descriptions in the Advanced user guide. (For sure I am not that advanced nor savvy in the subject of programming) I only want to know which are the parameters for those two key presses... I have tried simply putting the + and - in the parameters box... but I understand is not the right one.  Any light in this subject could be highly appreciated.  and yes it is more than awkward using the keyboard to set the detents I do manually in the real thing!

 

Thanks again.

TFD

Link to comment
Share on other sites

4 hours ago, Turbofandriver said:

in which you mentioned to try using the range parameter sections of the axis assignment  to force the NUM + and - keys. 

Do you mean by sending a key press using the Key Press & Release / Key Press/holdKey Release controls?
If do, the parameter will be the windows virtual key code - see https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
For +/-:
    VK_ADD               0x6B   Add key
    VK_SUBTRACT    0x6D   Subtract key
 

5 hours ago, Turbofandriver said:

I found a previous user (from years ago posting)

A link would have been useful!

John

Link to comment
Share on other sites

Thanks for your prompt reply John,

Yes that is what I am trying to do with the key press and release control....in the box labled "Parameter" I need to know what to type in the box both for the NUM+ key in the UP ranges/detents and the NUM- key for the Down ranges. Unfortunately the PSS is no longer supported so I have to find some improvisation and experimentation to see if it works...Also the link of the long ago posting in this forum...

In summary I only need what to type in "verbatim" into the Parameters box in the up and down ranges of the keypress and release to see if it works.

Thanks again and I will keep you posted of the results.

TFD

Link to comment
Share on other sites

21 minutes ago, Turbofandriver said:

In summary I only need what to type in "verbatim" into the Parameters box in the up and down ranges of the keypress and release to see if it works.

So try 0x6B (or 107) for +, and 0x6D (or 109) for -.

John

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.