Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72b24554 authored by seanhong's avatar seanhong Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Add interior light switch properties to the emulator for am: 0c188ae2

parents fda70a64 0c188ae2
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1608,6 +1608,24 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                 },
         .initialValue = {.int32Values = {LIGHT_SWITCH_AUTO}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::CABIN_LIGHTS_SWITCH),
                         .access = VehiclePropertyAccess::READ_WRITE,
                         .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                 },
         .initialValue = {.int32Values = {LIGHT_STATE_ON}}},

        {.config = {.prop = toInt(VehicleProperty::READING_LIGHTS_SWITCH),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT},
                                    VehicleAreaConfig{.areaId = SEAT_1_RIGHT},
                                    VehicleAreaConfig{.areaId = SEAT_2_LEFT},
                                    VehicleAreaConfig{.areaId = SEAT_2_RIGHT},
                                    VehicleAreaConfig{.areaId = SEAT_2_CENTER}}},
         .initialValue = {.int32Values = {LIGHT_STATE_ON}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::EVS_SERVICE_REQUEST),