The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

xrt: Add names for hand based controller emulation

Co-authored-by: Jakob Bornecrantz <tbornecrantz@nvidia.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>

authored by

Wanhang Lu
Jakob Bornecrantz
and committed by
Marge Bot
6663636f d9fe8e9a

+12 -3
+12 -3
src/xrt/include/xrt/xrt_defines.h
··· 1 1 // Copyright 2019-2024, Collabora, Ltd. 2 + // Copyright 2024-2025, NVIDIA CORPORATION. 2 3 // SPDX-License-Identifier: BSL-1.0 3 4 /*! 4 5 * @file ··· 789 790 XRT_DEVICE_TOUCH_CONTROLLER_RIFT_CV1, 790 791 XRT_DEVICE_TOUCH_CONTROLLER_QUEST_1_RIFT_S, 791 792 XRT_DEVICE_TOUCH_CONTROLLER_QUEST_2, 793 + 794 + // Hand based controller emulation. 795 + XRT_DEVICE_HAND_CTRL_EMU, 792 796 }; 793 797 794 798 /*! ··· 1318 1322 \ 1319 1323 _(XRT_INPUT_BLUBUR_S1_MENU_CLICK , XRT_INPUT_NAME(0x1000, BOOLEAN)) \ 1320 1324 \ 1321 - _(XRT_INPUT_PSVR2_SYSTEM_CLICK , XRT_INPUT_NAME(0x1100, BOOLEAN)) 1322 - 1323 - 1325 + _(XRT_INPUT_PSVR2_SYSTEM_CLICK , XRT_INPUT_NAME(0x1100, BOOLEAN)) \ 1326 + \ 1327 + _(XRT_INPUT_HAND_CTRL_EMU_PINCH_BOOL , XRT_INPUT_NAME(0x1200, BOOLEAN)) \ 1328 + _(XRT_INPUT_HAND_CTRL_EMU_PINCH_VALUE , XRT_INPUT_NAME(0x1201, VEC1_ZERO_TO_ONE)) \ 1329 + _(XRT_INPUT_HAND_CTRL_EMU_GRIP_POSE , XRT_INPUT_NAME(0x1202, POSE)) \ 1330 + _(XRT_INPUT_HAND_CTRL_EMU_AIM_POSE , XRT_INPUT_NAME(0x1203, POSE)) \ 1331 + \ 1332 + /* Please keep this comment and the trailing \ to reduce lines changed when adding entries. */ 1324 1333 // clang-format on 1325 1334 1326 1335