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

Commit 3549db36 authored by Luke Song's avatar Luke Song
Browse files

Add dvr api entries for sensor enable/disable

Follow-up to ag/2263549 because we want to use it in VrCore now.

Bug: 63070540
Test: Api call in VrCore
Change-Id: Ic3b2c68ade31008ada8078a74ebe2945748143ae
parent bf72631a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -235,6 +235,8 @@ typedef int (*DvrPoseClientGetControllerPtr)(DvrPoseClient* client,
                                             int32_t controller_id,
                                             uint32_t vsync_count,
                                             DvrPoseAsync* out_pose);
typedef int (*DvrPoseClientSensorsEnablePtr)(DvrPoseClient* client,
                                             bool enabled);

// services/vr/virtual_touchpad/include/dvr/virtual_touchpad_client.h

+3 −0
Original line number Diff line number Diff line
@@ -154,3 +154,6 @@ DVR_V1_API_ENTRY(GetNativeDisplayMetrics);

// Performance
DVR_V1_API_ENTRY(PerformanceSetSchedulerPolicy);

// Pose client
DVR_V1_API_ENTRY(PoseClientSensorsEnable);