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

Commit 76070519 authored by Arati Gerdes's avatar Arati Gerdes
Browse files

DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.h

Test: Built.
Bug: 239100623
Change-Id: I29e55f995a35bc3157f082be1b88a61495434b5c
parent 8e532e6d
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -1100,6 +1100,26 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                                                      .maxInt32Value = 10}}},
         .initialValue = {.int32Values = {0}}},

        {.config = {.prop = toInt(VehicleProperty::WINDOW_MOVE),
                    .access = VehiclePropertyAccess::READ_WRITE,
                    .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                    .areaConfigs = {VehicleAreaConfig{.areaId = WINDOW_1_LEFT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_1_RIGHT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_2_LEFT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_2_RIGHT,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1},
                                    VehicleAreaConfig{.areaId = WINDOW_ROOF_TOP_1,
                                                      .minInt32Value = -1,
                                                      .maxInt32Value = 1}}},
         .initialValue = {.int32Values = {0}}},

        {.config =
                 {
                         .prop = WHEEL_TICK,