#Assigning multiple codes to a single input

1 messages · Page 1 of 1 (latest)

placid cedar
#

I have a single switch for Avionics Master. Is it possible to assign this to both MS2020 Custom Input C172_AVIONICS _BUS_1 _ON and C172_AVIONICS _BUS_2 _ON ?

The preset code is:
(A:CIRCUIT SWITCH ON:24, Bool) ! if{ 24 (>K:ELECTRICAL_CIRCUIT_TOGGLE) }
(A:CIRCUIT SWITCH ON:24, Bool) 1 (>A:BUS LOOKUP INDEX, Number) (A:BUS CONNECTION ON:4, Bool) != if{ 4 1 (>K:2:ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE) }

peak haven
#

I think you can create 2 different input config lines

#

each assign to the same switch

#

and for one you put the BUS_1 Custom Input, and for the other the BUS_2 custom input

sullen juniper
#

@placid cedar You can probably just put them also on one custom config entry field one after the other, but like @peak haven said, two entries works too.

peak haven
#

I have no clue how the custom MSFS thinghies work, so I Just went with my FSX approach, haha

sullen juniper
#

yeah, both do the job

#

the custom rpn code is run inside the sim, and I think you can put more than one thing there. @ruby pivot has tested this more extensively though.

But having two configs is a correct way to do it.

placid cedar
#

Of course! It's been a while since I used Mobifight. Thanks!