Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello

I would like to assign an encoder with the input numbers 132 and 133 a free offset, for example 66E0 and 66E1, in the Fsuipc config. 
What do I have to select to assign the offsets. are these fs controls?  would like to use this offset for the Flight and Land alt. 
Can I read the free offset assigned in fsuipc in an external program with the function on_fsuipc_offset_change? 

thanks for your tips.
 

Ramon

Posted

Sorry, but this doesn't make much sense...

1 hour ago, Metall4You said:

I would like to assign an encoder with the input numbers 132 and 133 a free offset

Offsets are for holding data, such as the value of a simvar or an lvar, or any data that you would like to store there.
So how can you assign encoder buttons to an offset? That just doesn't make any sense. You assign encoder buttons to actions, such as to send and event/control or preset.
If you want to assign one of the rotary buttons to write/update an offset, then you can do this by assigning to one if the offset controls (e.g. Offset Byte Set) - see page 34 of the Advanced User guide

1 hour ago, Metall4You said:

Can I read the free offset assigned in fsuipc in an external program with the function on_fsuipc_offset_change? 

You can read/write to all offsets in an external program using the FSUIPC SDK or one of its wrappers, I have no idea what that function is, but if it is from one of the FSUIPC wrapper libraries then I don't see why not (although that looks to be a callback function that is called when an offset value changes).

John

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.