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

Commit 624034fa authored by Enrico Granata's avatar Enrico Granata
Browse files

Add HW_KEY_INPUT to DefaultVehicleHal

Having this property available allows one to simulate key events via Vhal Emulator for testing/debugging purposes

Test: manual
Exempt-From-Owner-Approval: CL against code owned by Automotive team
Change-Id: I1de84c616c6611b8562f9c4442195829869f224d
(cherry picked from commit cbc10191c3d56490a646a472635e8babc397cb44)
parent 5b7092f3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -225,6 +225,14 @@ const ConfigDeclaration kVehicleProperties[]{
         },
     .initialValue = {.int32Values = {0}}},

    {.config =
         {
             .prop = toInt(VehicleProperty::HW_KEY_INPUT),
             .access = VehiclePropertyAccess::READ,
             .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
         },
     .initialValue = {.int32Values = {0, 0, 0}}},

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