Jump to content
The simFlight Network Forums
Sign in to follow this  
ark1320

ipcPARAM Values?

Recommended Posts

Does the ipcPARAM parameter value supplied with a key or button assignment have to be an integer, or can it also be a decimal value?  Can it be a string?

Thanks,

Al

 

EDIT:  From what I can tell, ipcPARAM has to be an integer.

 

Share this post


Link to post
Share on other sites
10 hours ago, ark1320 said:

From what I can tell, ipcPARAM has to be an integer.

Correct. It's just a 32-bit value ("DWORD").  If you want to use a value with fractional parts, depending on the range you need, I would use a decimal multiplier on the value you need before entering it in the assignment, and divide it by the same in the plug-in. 

I'm afraid strings aren't possible in this context. 

Pete

 

Share this post


Link to post
Share on other sites
9 hours ago, Pete Dowson said:

Correct. It's just a 32-bit value ("DWORD").  If you want to use a value with fractional parts, depending on the range you need, I would use a decimal multiplier on the value you need before entering it in the assignment, and divide it by the same in the plug-in. 

Good idea, thanks!

Al

Share this post


Link to post
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...
Sign in to follow this  

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