disable fields on `Launch Control` if `Enable Launch Control` setting is `false`
closes #6571
This commit is contained in:
parent
d97338d9d2
commit
59d2d660f9
|
@ -4766,15 +4766,15 @@ dialog = tcuControls, "Transmission Settings"
|
|||
; Racing Features->Launch Control
|
||||
dialog = smLaunchControlWest, "Launch Control Settings"
|
||||
field = "Enable Launch Control", launchControlEnabled
|
||||
field = "Activation Mode", launchActivationMode
|
||||
field = "Activation Mode", launchActivationMode, {launchControlEnabled == 1}
|
||||
|
||||
field = "Launch Button", launchActivatePin, { launchActivatePin != 0 || (launchActivationMode == @@launchActivationMode_e_SWITCH_INPUT_LAUNCH@@ && launchControlEnabled == 1)}
|
||||
field = "Launch Button inverted", launchActivateInverted
|
||||
field = "Launch Button mode", launchActivatePinMode, {launchActivationMode == @@launchActivationMode_e_SWITCH_INPUT_LAUNCH@@ && launchControlEnabled == 1}
|
||||
field = "Launch Button", launchActivatePin, {launchControlEnabled == 1 && (launchActivatePin != 0 || (launchActivationMode == @@launchActivationMode_e_SWITCH_INPUT_LAUNCH@@ && launchControlEnabled == 1))}
|
||||
field = "Launch Button inverted", launchActivateInverted, {launchControlEnabled == 1}
|
||||
field = "Launch Button mode", launchActivatePinMode, {launchControlEnabled == 1 && launchActivationMode == @@launchActivationMode_e_SWITCH_INPUT_LAUNCH@@ && launchControlEnabled == 1}
|
||||
|
||||
field = "Clutch Down", clutchDownPin, {launchActivationMode == @@launchActivationMode_e_CLUTCH_INPUT_LAUNCH@@ && launchControlEnabled == 1}
|
||||
field = "Clutch Down inverted", clutchDownPinInverted
|
||||
field = "Clutch Down mode", clutchDownPinMode, {launchActivationMode == @@launchActivationMode_e_CLUTCH_INPUT_LAUNCH@@ && launchControlEnabled == 1}
|
||||
field = "Clutch Down", clutchDownPin, {launchControlEnabled == 1 && launchActivationMode == @@launchActivationMode_e_CLUTCH_INPUT_LAUNCH@@ && launchControlEnabled == 1}
|
||||
field = "Clutch Down inverted", clutchDownPinInverted, {launchControlEnabled == 1}
|
||||
field = "Clutch Down mode", clutchDownPinMode, {launchControlEnabled == 1 && launchActivationMode == @@launchActivationMode_e_CLUTCH_INPUT_LAUNCH@@ && launchControlEnabled == 1}
|
||||
field = ""
|
||||
|
||||
; dead code field = "Rpm Threshold", launchRpmThreshold, {launchControlEnabled == 1}
|
||||
|
|
Loading…
Reference in New Issue