Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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.

 

Posted
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

 

Posted
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

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.