Home
last modified time | relevance | path

Searched refs:controller_id (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp83 int GetControllerPose(int32_t controller_id, uint32_t vsync_count, in GetControllerPose() argument
85 if (controller_id < 0 || controller_id >= MAX_CONTROLLERS) { in GetControllerPose()
88 if (!controllers_[controller_id].mapped_pose_buffer) { in GetControllerPose()
89 int ret = GetControllerRingBuffer(controller_id); in GetControllerPose()
94 controllers_[controller_id] in GetControllerPose()
207 int GetControllerRingBuffer(int32_t controller_id) { in GetControllerRingBuffer() argument
208 if (controller_id < 0 || controller_id >= MAX_CONTROLLERS) { in GetControllerRingBuffer()
211 ControllerClientState& client_state = controllers_[controller_id]; in GetControllerRingBuffer()
218 DVR_POSE_GET_CONTROLLER_RING_BUFFER, &controller_id, in GetControllerRingBuffer()
219 sizeof(controller_id), nullptr, 0); in GetControllerRingBuffer()
[all …]
/frameworks/native/libs/vr/libvrsensor/include/dvr/
Dpose_client.h101 int dvrPoseClientGetController(DvrPoseClient* client, int32_t controller_id,
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_api.h275 int32_t controller_id,