openSimIO
openSimIO copied to clipboard
Logical condition for input.
Create a way to check if another pin is set to do different things.
For example having same rotary controlling two com frequency:
if;1.0.D12;2;
1.0.D22;0;DI_ROTARY_ENCODER_TYPE1;0;10.0;0;0;sim/cockpit/radios/com1_freq_hz;0;0;1;0;
if;1.0.D12;0;
1.0.D22;0;DI_ROTARY_ENCODER_TYPE1;0;10.0;0;0;sim/cockpit/radios/com2_freq_hz;0;0;1;0;
Or When you press a button it shifts larger steps:
if;1.0.D24;1;
1.0.D22;0;DI_ROTARY_ENCODER_TYPE1;0;100.0;0;0;sim/cockpit/radios/com1_freq_hz;0;0;1;0;
if;1.0.D24;0;
1.0.D22;0;DI_ROTARY_ENCODER_TYPE1;0;1.0;0;0;sim/cockpit/radios/com1_freq_hz;0;0;1;0;