Add definitions for more interaction profiles

This commit is contained in:
Patrick Nicolas
2025-02-21 18:42:26 +01:00
parent 5151acaad2
commit 86a12d27dc
6 changed files with 896 additions and 174 deletions
+247 -27
View File
@@ -110,10 +110,10 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
@@ -128,6 +128,214 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
}},
interaction_profile{
" /interaction_profiles/facebook/touch_controller_pro",
{"XR_FB_touch_controller_pro"},
{
"/user/hand/left/output/haptic",
"/user/hand/left/output/haptic_trigger_fb",
"/user/hand/left/output/haptic_thumb_fb",
"/user/hand/right/output/haptic",
"/user/hand/right/output/haptic_trigger_fb",
"/user/hand/right/output/haptic_thumb_fb",
"/user/hand/left/input/grip/pose",
"/user/hand/left/input/aim/pose",
"/user/hand/right/input/grip/pose",
"/user/hand/right/input/aim/pose",
"/user/hand/left/input/x/click",
"/user/hand/left/input/x/touch",
"/user/hand/left/input/y/click",
"/user/hand/left/input/y/touch",
"/user/hand/left/input/menu/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/left/input/thumbrest/force",
"/user/hand/left/input/stylus_fb/force",
"/user/hand/left/input/trigger/curl_fb",
"/user/hand/left/input/trigger/slide_fb",
"/user/hand/left/input/trigger/proximity_fb",
"/user/hand/left/input/thumb_fb/proximity_fb",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
"/user/hand/right/input/b/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/system/click",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
"/user/hand/right/input/thumbrest/force",
"/user/hand/right/input/stylus_fb/force",
"/user/hand/right/input/trigger/curl_fb",
"/user/hand/right/input/trigger/slide_fb",
"/user/hand/right/input/trigger/proximity_fb",
"/user/hand/right/input/thumb_fb/proximity_fb",
}},
interaction_profile{
" /interaction_profiles/meta/touch_pro_controller",
{"XR_VERSION_1_1"},
{
"/user/hand/left/output/haptic",
"/user/hand/left/output/haptic_trigger",
"/user/hand/left/output/haptic_thumb",
"/user/hand/right/output/haptic",
"/user/hand/right/output/haptic_trigger",
"/user/hand/right/output/haptic_thumb",
"/user/hand/left/input/grip/pose",
"/user/hand/left/input/aim/pose",
"/user/hand/right/input/grip/pose",
"/user/hand/right/input/aim/pose",
"/user/hand/left/input/x/click",
"/user/hand/left/input/x/touch",
"/user/hand/left/input/y/click",
"/user/hand/left/input/y/touch",
"/user/hand/left/input/menu/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/trigger/proximity",
"/user/hand/left/input/trigger_curl/value",
"/user/hand/left/input/trigger_slide/value",
"/user/hand/left/input/thumb_resting_surfaces/proximity",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/left/input/thumbrest/force",
"/user/hand/left/input/stylus/force",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
"/user/hand/right/input/b/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/system/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/trigger/proximity",
"/user/hand/right/input/trigger_curl/value",
"/user/hand/right/input/trigger_slide/value",
"/user/hand/right/input/thumb_resting_surfaces/proximity",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
"/user/hand/right/input/thumbrest/force",
"/user/hand/right/input/stylus/force",
}},
interaction_profile{
" /interaction_profiles/meta/touch_controller_plus",
{"XR_META_touch_controller_plus"},
{
"/user/hand/left/output/haptic",
"/user/hand/right/output/haptic",
"/user/hand/left/input/grip/pose",
"/user/hand/left/input/aim/pose",
"/user/hand/right/input/grip/pose",
"/user/hand/right/input/aim/pose",
"/user/hand/left/input/x/click",
"/user/hand/left/input/x/touch",
"/user/hand/left/input/y/click",
"/user/hand/left/input/y/touch",
"/user/hand/left/input/menu/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/left/input/thumb_meta/proximity_meta",
"/user/hand/left/input/trigger/curl_meta",
"/user/hand/left/input/trigger/slide_meta",
"/user/hand/left/input/trigger/force",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
"/user/hand/right/input/b/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/system/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
"/user/hand/right/input/thumb_meta/proximity_meta",
"/user/hand/right/input/trigger/curl_meta",
"/user/hand/right/input/trigger/slide_meta",
"/user/hand/right/input/trigger/force",
}},
interaction_profile{
" /interaction_profiles/meta/touch_plus_controller",
{"XR_VERSION_1_1"},
{
"/user/hand/left/output/haptic",
"/user/hand/right/output/haptic",
"/user/hand/left/input/grip/pose",
"/user/hand/left/input/aim/pose",
"/user/hand/right/input/grip/pose",
"/user/hand/right/input/aim/pose",
"/user/hand/left/input/x/click",
"/user/hand/left/input/x/touch",
"/user/hand/left/input/y/click",
"/user/hand/left/input/y/touch",
"/user/hand/left/input/menu/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/trigger/force",
"/user/hand/left/input/trigger/proximity",
"/user/hand/left/input/trigger_curl/value",
"/user/hand/left/input/trigger_slide/value",
"/user/hand/left/input/thumb_resting_surfaces/proximity",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
"/user/hand/right/input/b/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/system/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/trigger/force",
"/user/hand/right/input/trigger/proximity",
"/user/hand/right/input/trigger_curl/value",
"/user/hand/right/input/trigger_slide/value",
"/user/hand/right/input/thumb_resting_surfaces/proximity",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
}},
interaction_profile{
"/interaction_profiles/bytedance/pico_neo3_controller",
{"XR_BD_controller_interaction"},
@@ -147,13 +355,13 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/left/input/y/touch",
"/user/hand/left/input/menu/click",
"/user/hand/left/input/system/click",
"/user/hand/left/input/squeeze/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
@@ -161,13 +369,13 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/b/touch",
"/user/hand/right/input/menu/click",
"/user/hand/right/input/system/click",
"/user/hand/right/input/squeeze/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
}},
interaction_profile{
@@ -188,27 +396,29 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/left/input/y/click",
"/user/hand/left/input/y/touch",
"/user/hand/left/input/menu/click",
"/user/hand/left/input/squeeze/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/system/click",
"/user/hand/left/input/trigger/click",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/left/input/squeeze/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/right/input/a/click",
"/user/hand/right/input/a/touch",
"/user/hand/right/input/b/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/squeeze/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/system/click",
"/user/hand/right/input/trigger/click",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbrest/touch",
"/user/hand/right/input/squeeze/click",
"/user/hand/right/input/squeeze/value",
}},
interaction_profile{
"/interaction_profiles/htc/vive_focus3_controller",
@@ -230,12 +440,12 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/left/input/squeeze/touch",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/click",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/thumbstick",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbrest/touch",
"/user/hand/right/input/a/click",
"/user/hand/right/input/b/click",
@@ -244,8 +454,8 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/squeeze/touch",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/click",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/thumbstick",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick/touch",
@@ -262,26 +472,35 @@ static std::vector<interaction_profile> interaction_profiles{
static const std::pair<std::string_view, XrActionType> action_suffixes[] =
{
// clang-format off
// From OpenXR spec 1.0.33, §6.3.2 Input subpaths
// From OpenXR spec 1.1.43, §6.3.2 Input subpaths
// + extensions
// Standard components
{"/click", XR_ACTION_TYPE_BOOLEAN_INPUT},
{"/touch", XR_ACTION_TYPE_BOOLEAN_INPUT},
{"/force", XR_ACTION_TYPE_FLOAT_INPUT},
{"/value", XR_ACTION_TYPE_FLOAT_INPUT},
{"/x", XR_ACTION_TYPE_FLOAT_INPUT},
{"/y", XR_ACTION_TYPE_FLOAT_INPUT},
{"/twist", XR_ACTION_TYPE_FLOAT_INPUT},
{"/pose", XR_ACTION_TYPE_POSE_INPUT},
{"/click", XR_ACTION_TYPE_BOOLEAN_INPUT},
{"/touch", XR_ACTION_TYPE_BOOLEAN_INPUT},
{"/proximity", XR_ACTION_TYPE_BOOLEAN_INPUT},
{"/proximity_fb",XR_ACTION_TYPE_BOOLEAN_INPUT},
{"/force", XR_ACTION_TYPE_FLOAT_INPUT},
{"/value", XR_ACTION_TYPE_FLOAT_INPUT},
{"/x", XR_ACTION_TYPE_FLOAT_INPUT},
{"/y", XR_ACTION_TYPE_FLOAT_INPUT},
{"/twist", XR_ACTION_TYPE_FLOAT_INPUT},
{"/curl_fb", XR_ACTION_TYPE_FLOAT_INPUT},
{"/curl_meta", XR_ACTION_TYPE_FLOAT_INPUT},
{"/pose", XR_ACTION_TYPE_POSE_INPUT},
// Standard 2D identifier, can be used without the /x and /y cmoponents
{"/trackpad", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/thumbstick", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/joystick", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/trackball", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/trackpad", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/thumbstick", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/joystick", XR_ACTION_TYPE_VECTOR2F_INPUT},
{"/trackball", XR_ACTION_TYPE_VECTOR2F_INPUT},
// Output paths
{"/haptic", XR_ACTION_TYPE_VIBRATION_OUTPUT},
{"/haptic", XR_ACTION_TYPE_VIBRATION_OUTPUT},
{"/haptic_trigger", XR_ACTION_TYPE_VIBRATION_OUTPUT},
{"/haptic_trigger_fb",XR_ACTION_TYPE_VIBRATION_OUTPUT},
{"/haptic_thumb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
{"/haptic_thumb_fb", XR_ACTION_TYPE_VIBRATION_OUTPUT},
// clang-format on
};
@@ -788,7 +1007,8 @@ void application::initialize()
{
for (const auto & j: i.required_extensions)
{
opt_extensions.push_back(j);
if (not j.starts_with("XR_VERSION"))
opt_extensions.push_back(j);
}
}
+69 -24
View File
@@ -42,30 +42,75 @@ using namespace wivrn;
// clang-format off
static const std::unordered_map<std::string, device_id> device_ids = {
{"/user/hand/left/input/x/click", device_id::X_CLICK},
{"/user/hand/left/input/x/touch", device_id::X_TOUCH},
{"/user/hand/left/input/y/click", device_id::Y_CLICK},
{"/user/hand/left/input/y/touch", device_id::Y_TOUCH},
{"/user/hand/left/input/menu/click", device_id::MENU_CLICK},
{"/user/hand/left/input/squeeze/value", device_id::LEFT_SQUEEZE_VALUE},
{"/user/hand/left/input/trigger/value", device_id::LEFT_TRIGGER_VALUE},
{"/user/hand/left/input/trigger/touch", device_id::LEFT_TRIGGER_TOUCH},
{"/user/hand/left/input/thumbstick", device_id::LEFT_THUMBSTICK_X},
{"/user/hand/left/input/thumbstick/click", device_id::LEFT_THUMBSTICK_CLICK},
{"/user/hand/left/input/thumbstick/touch", device_id::LEFT_THUMBSTICK_TOUCH},
{"/user/hand/left/input/thumbrest/touch", device_id::LEFT_THUMBREST_TOUCH},
{"/user/hand/right/input/a/click", device_id::A_CLICK},
{"/user/hand/right/input/a/touch", device_id::A_TOUCH},
{"/user/hand/right/input/b/click", device_id::B_CLICK},
{"/user/hand/right/input/b/touch", device_id::B_TOUCH},
{"/user/hand/right/input/system/click", device_id::SYSTEM_CLICK},
{"/user/hand/right/input/squeeze/value", device_id::RIGHT_SQUEEZE_VALUE},
{"/user/hand/right/input/trigger/value", device_id::RIGHT_TRIGGER_VALUE},
{"/user/hand/right/input/trigger/touch", device_id::RIGHT_TRIGGER_TOUCH},
{"/user/hand/right/input/thumbstick", device_id::RIGHT_THUMBSTICK_X},
{"/user/hand/right/input/thumbstick/click", device_id::RIGHT_THUMBSTICK_CLICK},
{"/user/hand/right/input/thumbstick/touch", device_id::RIGHT_THUMBSTICK_TOUCH},
{"/user/hand/right/input/thumbrest/touch", device_id::RIGHT_THUMBREST_TOUCH},
{"/user/hand/left/input/x/click", device_id::X_CLICK},
{"/user/hand/left/input/x/touch", device_id::X_TOUCH},
{"/user/hand/left/input/y/click", device_id::Y_CLICK},
{"/user/hand/left/input/y/touch", device_id::Y_TOUCH},
{"/user/hand/left/input/menu/click", device_id::MENU_CLICK},
{"/user/hand/left/input/squeeze/click", device_id::LEFT_SQUEEZE_CLICK},
{"/user/hand/left/input/squeeze/force", device_id::LEFT_SQUEEZE_FORCE},
{"/user/hand/left/input/squeeze/value", device_id::LEFT_SQUEEZE_VALUE},
{"/user/hand/left/input/trigger/value", device_id::LEFT_TRIGGER_VALUE},
{"/user/hand/left/input/trigger/click", device_id::LEFT_TRIGGER_CLICK},
{"/user/hand/left/input/trigger/touch", device_id::LEFT_TRIGGER_TOUCH},
{"/user/hand/left/input/trigger/proximity", device_id::LEFT_TRIGGER_PROXIMITY},
{"/user/hand/left/input/trigger/proximity_fb",device_id::LEFT_TRIGGER_PROXIMITY},
{"/user/hand/left/input/trigger/proximity_meta",device_id::LEFT_TRIGGER_PROXIMITY},
{"/user/hand/left/input/trigger/curl_fb", device_id::LEFT_TRIGGER_CURL},
{"/user/hand/left/input/trigger/curl_meta", device_id::LEFT_TRIGGER_CURL},
{"/user/hand/left/input/trigger_curl/value", device_id::LEFT_TRIGGER_CURL},
{"/user/hand/left/input/trigger/slide_fb", device_id::LEFT_TRIGGER_SLIDE},
{"/user/hand/left/input/trigger/slide_meta", device_id::LEFT_TRIGGER_SLIDE},
{"/user/hand/left/input/trigger_slide/value", device_id::LEFT_TRIGGER_SLIDE},
{"/user/hand/left/input/trigger/force", device_id::LEFT_TRIGGER_FORCE},
{"/user/hand/left/input/thumbstick", device_id::LEFT_THUMBSTICK_X},
{"/user/hand/left/input/thumbstick/click", device_id::LEFT_THUMBSTICK_CLICK},
{"/user/hand/left/input/thumbstick/touch", device_id::LEFT_THUMBSTICK_TOUCH},
{"/user/hand/left/input/thumbrest/touch", device_id::LEFT_THUMBREST_TOUCH},
{"/user/hand/left/input/thumbrest/force", device_id::LEFT_THUMBREST_FORCE},
{"/user/hand/left/input/thumb_resting_surfaces/proximity",device_id::LEFT_THUMB_PROXIMITY},
{"/user/hand/left/input/thumb_meta/proximity_meta",device_id::LEFT_THUMB_PROXIMITY},
{"/user/hand/left/input/trackpad", device_id::LEFT_TRACKPAD_X},
{"/user/hand/left/input/trackpad/click", device_id::LEFT_TRACKPAD_CLICK},
{"/user/hand/left/input/trackpad/touch", device_id::LEFT_TRACKPAD_TOUCH},
{"/user/hand/left/input/trackpad/force", device_id::LEFT_TRACKPAD_FORCE},
{"/user/hand/left/input/stylus/force", device_id::LEFT_STYLUS_FORCE},
{"/user/hand/left/input/stylus_fb/force", device_id::LEFT_STYLUS_FORCE},
{"/user/hand/right/input/a/click", device_id::A_CLICK},
{"/user/hand/right/input/a/touch", device_id::A_TOUCH},
{"/user/hand/right/input/b/click", device_id::B_CLICK},
{"/user/hand/right/input/b/touch", device_id::B_TOUCH},
{"/user/hand/right/input/system/click", device_id::SYSTEM_CLICK},
{"/user/hand/right/input/squeeze/click", device_id::RIGHT_SQUEEZE_CLICK},
{"/user/hand/right/input/squeeze/force", device_id::RIGHT_SQUEEZE_FORCE},
{"/user/hand/right/input/squeeze/value", device_id::RIGHT_SQUEEZE_VALUE},
{"/user/hand/right/input/trigger/value", device_id::RIGHT_TRIGGER_VALUE},
{"/user/hand/right/input/trigger/click", device_id::RIGHT_TRIGGER_CLICK},
{"/user/hand/right/input/trigger/touch", device_id::RIGHT_TRIGGER_TOUCH},
{"/user/hand/right/input/trigger/proximity", device_id::RIGHT_TRIGGER_PROXIMITY},
{"/user/hand/right/input/trigger/proximity_fb",device_id::RIGHT_TRIGGER_PROXIMITY},
{"/user/hand/right/input/trigger/proximity_meta",device_id::RIGHT_TRIGGER_PROXIMITY},
{"/user/hand/right/input/trigger/curl_fb", device_id::RIGHT_TRIGGER_CURL},
{"/user/hand/right/input/trigger/curl_meta", device_id::RIGHT_TRIGGER_CURL},
{"/user/hand/right/input/trigger_curl/value", device_id::RIGHT_TRIGGER_CURL},
{"/user/hand/right/input/trigger/slide_fb", device_id::RIGHT_TRIGGER_SLIDE},
{"/user/hand/right/input/trigger/slide_meta", device_id::RIGHT_TRIGGER_SLIDE},
{"/user/hand/right/input/trigger_slide/value", device_id::RIGHT_TRIGGER_SLIDE},
{"/user/hand/right/input/trigger/force", device_id::RIGHT_TRIGGER_FORCE},
{"/user/hand/right/input/thumbstick", device_id::RIGHT_THUMBSTICK_X},
{"/user/hand/right/input/thumbstick/click", device_id::RIGHT_THUMBSTICK_CLICK},
{"/user/hand/right/input/thumbstick/touch", device_id::RIGHT_THUMBSTICK_TOUCH},
{"/user/hand/right/input/thumbrest/touch", device_id::RIGHT_THUMBREST_TOUCH},
{"/user/hand/right/input/thumbrest/force", device_id::RIGHT_THUMBREST_FORCE},
{"/user/hand/right/input/thumb_resting_surfaces/proximity",device_id::RIGHT_THUMB_PROXIMITY},
{"/user/hand/right/input/thumb_meta/proximity_meta",device_id::RIGHT_THUMB_PROXIMITY},
{"/user/hand/right/input/trackpad", device_id::RIGHT_TRACKPAD_X},
{"/user/hand/right/input/trackpad/click", device_id::RIGHT_TRACKPAD_CLICK},
{"/user/hand/right/input/trackpad/touch", device_id::RIGHT_TRACKPAD_TOUCH},
{"/user/hand/right/input/trackpad/force", device_id::RIGHT_TRACKPAD_FORCE},
{"/user/hand/right/input/stylus/force", device_id::RIGHT_STYLUS_FORCE},
{"/user/hand/right/input/stylus_fb/force", device_id::RIGHT_STYLUS_FORCE},
};
// clang-format on