mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add the window lock property."
This commit is contained in:
committed by
Android (Google) Code Review
commit
49e24cad30
@@ -36,6 +36,9 @@ constexpr int DOOR_1_LEFT = (int)VehicleAreaDoor::ROW_1_LEFT;
|
||||
constexpr int DOOR_1_RIGHT = (int)VehicleAreaDoor::ROW_1_RIGHT;
|
||||
constexpr int DOOR_2_LEFT = (int)VehicleAreaDoor::ROW_2_LEFT;
|
||||
constexpr int DOOR_2_RIGHT = (int)VehicleAreaDoor::ROW_2_RIGHT;
|
||||
constexpr int WINDOW_1_LEFT = (int)VehicleAreaWindow::ROW_1_LEFT;
|
||||
constexpr int WINDOW_2_LEFT = (int)VehicleAreaWindow::ROW_2_LEFT;
|
||||
constexpr int WINDOW_2_RIGHT = (int)VehicleAreaWindow::ROW_2_RIGHT;
|
||||
constexpr int FAN_DIRECTION_FACE = (int)VehicleHvacFanDirection::FACE;
|
||||
constexpr int FAN_DIRECTION_FLOOR = (int)VehicleHvacFanDirection::FLOOR;
|
||||
constexpr int OBD2_LIVE_FRAME = (int)VehicleProperty::OBD2_LIVE_FRAME;
|
||||
@@ -576,6 +579,13 @@ const ConfigDeclaration kVehicleProperties[]{
|
||||
.initialAreaValues = {{DOOR_1_LEFT, {.int32Values = {1}}},
|
||||
{DOOR_1_RIGHT, {.int32Values = {1}}}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::WINDOW_LOCK),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs = {VehicleAreaConfig{.areaId = WINDOW_1_LEFT | WINDOW_2_LEFT |
|
||||
WINDOW_2_RIGHT}}},
|
||||
.initialAreaValues = {{WINDOW_1_LEFT | WINDOW_2_LEFT | WINDOW_2_RIGHT, {.int32Values = {0}}}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = WHEEL_TICK,
|
||||
|
||||
Reference in New Issue
Block a user