Add Pico 4s/4 Ultra/A9210 interaction profile (non-breaking change)

This commit is contained in:
TheRainTrain
2025-02-23 14:05:12 +01:00
committed by xytovl
parent 058b345a82
commit f108c26dd5
10 changed files with 366 additions and 1 deletions
+18
View File
@@ -1307,6 +1307,24 @@ scene::meta & scenes::lobby::get_meta_scene()
{"recenter_right", "/user/hand/right/input/a/click"},
},
},
suggested_binding{
"/interaction_profiles/bytedance/pico4s_controller",
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/trigger/value"},
{"left_squeeze", "/user/hand/left/input/squeeze/value"},
{"left_scroll", "/user/hand/left/input/thumbstick"},
{"left_haptic", "/user/hand/left/output/haptic"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/trigger/value"},
{"right_squeeze", "/user/hand/right/input/squeeze/value"},
{"right_scroll", "/user/hand/right/input/thumbstick"},
{"right_haptic", "/user/hand/right/output/haptic"},
{"recenter_left", "/user/hand/left/input/x/click"},
{"recenter_right", "/user/hand/right/input/a/click"},
},
},
suggested_binding{
"/interaction_profiles/htc/vive_focus3_controller",
{
+1
View File
@@ -490,6 +490,7 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction
DO_PROFILE(khr, simple_controller)
DO_PROFILE(bd, pico_neo3_controller)
DO_PROFILE(bd, pico4_controller)
DO_PROFILE(bd, pico4s_controller)
DO_PROFILE(bd, pico_g3_controller)
DO_PROFILE(google, daydream_controller)
DO_PROFILE(hp, mixed_reality_controller)