diff --git a/src/aircraft/IFly_B38M_MSFS.ts b/src/aircraft/IFly_B38M_MSFS.ts index caee6b7..66fd500 100644 --- a/src/aircraft/IFly_B38M_MSFS.ts +++ b/src/aircraft/IFly_B38M_MSFS.ts @@ -20,31 +20,31 @@ export default class IFlyB38M_MSFS extends AircraftConfig { features: FeatureAddresses = { [AircraftFeature.BeaconLights]: { - VC_Beacon_Light_SW: FeatureType.Int, + VC_Beacon_Light_SW_VAL: FeatureType.Int, }, [AircraftFeature.LandingLights]: { - VC_Landing_Light_1_SW: FeatureType.Int, - VC_Landing_Light_2_SW: FeatureType.Int, + VC_Landing_Light_1_SW_VAL: FeatureType.Int, + VC_Landing_Light_2_SW_VAL: FeatureType.Int, }, [AircraftFeature.LogoLights]: { - VC_Logo_Light_SW: FeatureType.Int, + VC_Logo_Light_SW_VAL: FeatureType.Int, }, [AircraftFeature.NavigationLights]: { - VC_Position_Light_SW: FeatureType.Int, + VC_Position_Light_SW_VAL: FeatureType.Int, }, [AircraftFeature.StrobeLights]: { - VC_Position_Light_SW: FeatureType.Int, + VC_Position_Light_SW_VAL: FeatureType.Int, }, [AircraftFeature.TaxiLights]: { - VC_Taxi_Light_SW: FeatureType.Int, + VC_Taxi_Light_SW_VAL: FeatureType.Int, }, [AircraftFeature.WingLights]: { - VC_Wing_Light_SW: FeatureType.Int, + VC_Wing_Light_SW_VAL: FeatureType.Int, }, } match(title: string, icao: string, config_path: string): boolean { - this.flapNames = GetDefaultFlaps('', 'b737', '') + this.flapNames = GetDefaultFlaps('', 'b38m', '') return ['ifly', '737-max8'].every((w) => title.includes(w)) } @@ -65,11 +65,10 @@ export default class IFlyB38M_MSFS extends AircraftConfig { } taxiLights(value: number): FeatureState { - // Off = 0 , On = 10 return value === 10 } + wingLights(value: number): FeatureState { - // Off = 0 , On = 10 return value === 10 } }