add frame controller profile

This commit is contained in:
galister committed 2026-09-27 17:14:33 +09:00
1 parent ef81d500ca
commit 596e661d7e
8 files changed
+767 -53

No files matched your search

+62
View File
@@ -477,6 +477,68 @@ static std::vector<interaction_profile> interaction_profiles{
"/user/hand/right/input/squeeze/value",
},
},
interaction_profile{
.profile_name = "/interaction_profiles/valve/frame_controller_valve",
.required_extensions = {"XR_VALVE_frame_controller_interaction"},
.input_sources = {
"/user/hand/right/output/haptic",
"/user/hand/left/output/haptic",
"/user/hand/right/input/grip/pose",
"/user/hand/left/input/grip/pose",
"/user/hand/right/input/aim/pose",
"/user/hand/left/input/aim/pose",
"/user/hand/right/input/a/touch",
"/user/hand/right/input/a/click",
"/user/hand/right/input/b/touch",
"/user/hand/right/input/b/click",
"/user/hand/right/input/x/touch",
"/user/hand/right/input/x/click",
"/user/hand/right/input/y/touch",
"/user/hand/right/input/y/click",
"/user/hand/right/input/menu/touch",
"/user/hand/right/input/menu/click",
"/user/hand/right/input/system/touch",
"/user/hand/right/input/system/click",
"/user/hand/right/input/bumper/touch",
"/user/hand/right/input/bumper/click",
"/user/hand/right/input/squeeze/touch",
"/user/hand/right/input/squeeze/click",
"/user/hand/right/input/squeeze/value",
"/user/hand/right/input/trigger/touch",
"/user/hand/right/input/trigger/click",
"/user/hand/right/input/trigger/value",
"/user/hand/right/input/thumbstick/touch",
"/user/hand/right/input/thumbstick/click",
"/user/hand/right/input/thumbstick",
"/user/hand/left/input/dpad_up/touch",
"/user/hand/left/input/dpad_up/click",
"/user/hand/left/input/dpad_left/touch",
"/user/hand/left/input/dpad_left/click",
"/user/hand/left/input/dpad_down/touch",
"/user/hand/left/input/dpad_down/click",
"/user/hand/left/input/dpad_right/touch",
"/user/hand/left/input/dpad_right/click",
"/user/hand/left/input/view/touch",
"/user/hand/left/input/view/click",
"/user/hand/left/input/system/touch",
"/user/hand/left/input/system/click",
"/user/hand/left/input/bumper/touch",
"/user/hand/left/input/bumper/click",
"/user/hand/left/input/squeeze/touch",
"/user/hand/left/input/squeeze/click",
"/user/hand/left/input/squeeze/value",
"/user/hand/left/input/trigger/touch",
"/user/hand/left/input/trigger/click",
"/user/hand/left/input/trigger/value",
"/user/hand/left/input/thumbstick/touch",
"/user/hand/left/input/thumbstick/click",
"/user/hand/left/input/thumbstick",
},
},
interaction_profile{
.profile_name = "/interaction_profiles/yvr/touch_controller_yvr",
.input_sources = {