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

Commit a8e73abf authored by Jordan Jozwiak's avatar Jordan Jozwiak
Browse files

Add the HVAC_SEAT_VENTILATION property.

Bug: b/111610946
Test: Build and install.
Exempt-From-Owner-Approval: Add property for HVAC_SEAT_VENTILATION
following existing pattern
Change-Id: I71c23d01c35d9db76eb8d4845e6bb9ce4257defb
(cherry picked from commit 2158eccd4bd139a29f14a041c6de60831a2405a7)
parent 510fff36
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -436,6 +436,17 @@ const ConfigDeclaration kVehicleProperties[]{
                .areaConfigs = {VehicleAreaConfig{.areaId = HVAC_ALL}}},
     .initialValue = {.int32Values = {toInt(VehicleHvacFanDirection::FACE)}}},

    {.config = {.prop = toInt(VehicleProperty::HVAC_SEAT_VENTILATION),
                .access = VehiclePropertyAccess::READ_WRITE,
                .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
                .areaConfigs = {VehicleAreaConfig{
                                    .areaId = SEAT_1_LEFT, .minInt32Value = 0, .maxInt32Value = 3,
                                },
                                VehicleAreaConfig{
                                    .areaId = SEAT_1_RIGHT, .minInt32Value = 0, .maxInt32Value = 3,
                                }}},
     .initialValue = {.int32Values = {0}}},  // 0 is off and +ve values indicate ventilation level.

    {.config = {.prop = toInt(VehicleProperty::HVAC_STEERING_WHEEL_HEAT),
                .access = VehiclePropertyAccess::READ_WRITE,
                .changeMode = VehiclePropertyChangeMode::ON_CHANGE,