mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-12 09:55:33 +00:00
246 lines
7.6 KiB
JSON
246 lines
7.6 KiB
JSON
|
{
|
||
|
"/interaction_profiles/khr/simple_controller": {
|
||
|
"title": "Khronos Simple Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/select/click"},
|
||
|
{"subpath": "/input/menu/click"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"},
|
||
|
{"subpath": "/output/haptic"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/google/daydream_controller": {
|
||
|
"title": "Google Daydream Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/select/click"},
|
||
|
{"subpath": "/input/trackpad/x"},
|
||
|
{"subpath": "/input/trackpad/y"},
|
||
|
{"subpath": "/input/trackpad/click"},
|
||
|
{"subpath": "/input/trackpad/touch"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/htc/vive_controller": {
|
||
|
"title": "HTC Vive Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/system/click", "system": "true"},
|
||
|
{"subpath": "/input/squeeze/click"},
|
||
|
{"subpath": "/input/menu/click"},
|
||
|
{"subpath": "/input/trigger/click"},
|
||
|
{"subpath": "/input/trigger/value"},
|
||
|
{"subpath": "/input/trackpad/x"},
|
||
|
{"subpath": "/input/trackpad/y"},
|
||
|
{"subpath": "/input/trackpad/click"},
|
||
|
{"subpath": "/input/trackpad/touch"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"},
|
||
|
{"subpath": "/output/haptic"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/htc/vive_pro": {
|
||
|
"title": "HTC Vive Pro",
|
||
|
"user_paths": [
|
||
|
"/user/head"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/system/click", "system": "true"},
|
||
|
{"subpath": "/input/volume_up/click"},
|
||
|
{"subpath": "/input/volume_down/click"},
|
||
|
{"subpath": "/input/mute_mic/click"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/microsoft/motion_controller": {
|
||
|
"title": "Microsoft Mixed Reality Motion Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/menu/click"},
|
||
|
{"subpath": "/input/squeeze/click"},
|
||
|
{"subpath": "/input/trigger/value"},
|
||
|
{"subpath": "/input/thumbstick/x"},
|
||
|
{"subpath": "/input/thumbstick/y"},
|
||
|
{"subpath": "/input/thumbstick/click"},
|
||
|
{"subpath": "/input/trackpad/x"},
|
||
|
{"subpath": "/input/trackpad/y"},
|
||
|
{"subpath": "/input/trackpad/click"},
|
||
|
{"subpath": "/input/trackpad/touch"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"},
|
||
|
{"subpath": "/output/haptic"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/microsoft/xbox_controller": {
|
||
|
"title": "Microsoft Xbox Controller",
|
||
|
"user_paths": [
|
||
|
"/user/gamepad"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/menu/click"},
|
||
|
{"subpath": "/input/view/click"},
|
||
|
{"subpath": "/input/a/click"},
|
||
|
{"subpath": "/input/b/click"},
|
||
|
{"subpath": "/input/x/click"},
|
||
|
{"subpath": "/input/y/click"},
|
||
|
{"subpath": "/input/dpad_down/click"},
|
||
|
{"subpath": "/input/dpad_right/click"},
|
||
|
{"subpath": "/input/dpad_up/click"},
|
||
|
{"subpath": "/input/dpad_left/click"},
|
||
|
{"subpath": "/input/shoulder_left/click"},
|
||
|
{"subpath": "/input/shoulder_right/click"},
|
||
|
{"subpath": "/input/thumbstick_left/click"},
|
||
|
{"subpath": "/input/thumbstick_right/click"},
|
||
|
{"subpath": "/input/trigger_left/value"},
|
||
|
{"subpath": "/input/trigger_right/value"},
|
||
|
{"subpath": "/input/thumbstick_left/x"},
|
||
|
{"subpath": "/input/thumbstick_left/y"},
|
||
|
{"subpath": "/input/thumbstick_right/x"},
|
||
|
{"subpath": "/input/thumbstick_right/y"},
|
||
|
{"subpath": "/output/haptic_left"},
|
||
|
{"subpath": "/output/haptic_right"},
|
||
|
{"subpath": "/output/haptic_left_trigger"},
|
||
|
{"subpath": "/output/haptic_right_trigger"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/oculus/go_controller": {
|
||
|
"title": "Oculus Go Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/system/click", "system": "true"},
|
||
|
{"subpath": "/input/trigger/click"},
|
||
|
{"subpath": "/input/back/click"},
|
||
|
{"subpath": "/input/trackpad/x"},
|
||
|
{"subpath": "/input/trackpad/y"},
|
||
|
{"subpath": "/input/trackpad/click"},
|
||
|
{"subpath": "/input/trackpad/touch"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/oculus/touch_controller": {
|
||
|
"title": "Oculus Touch Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"user_paths": "/user/hand/left", "subpath": "/input/x/click"},
|
||
|
{"user_paths": "/user/hand/left", "subpath": "/input/x/touch"},
|
||
|
{"user_paths": "/user/hand/left", "subpath": "/input/y/click"},
|
||
|
{"user_paths": "/user/hand/left", "subpath": "/input/y/touch"},
|
||
|
{"user_paths": "/user/hand/left", "subpath": "/input/menu/click"},
|
||
|
{"user_paths": "/user/hand/right", "subpath": "/input/a/click"},
|
||
|
{"user_paths": "/user/hand/right", "subpath": "/input/a/touch"},
|
||
|
{"user_paths": "/user/hand/right", "subpath": "/input/b/click"},
|
||
|
{"user_paths": "/user/hand/right", "subpath": "/input/b/touch"},
|
||
|
{"user_paths": "/user/hand/right", "subpath": "/input/system/click", "system": "true"},
|
||
|
{"subpath": "/input/squeeze/value"},
|
||
|
{"subpath": "/input/trigger/value"},
|
||
|
{"subpath": "/input/trigger/touch"},
|
||
|
{"subpath": "/input/thumbstick/x"},
|
||
|
{"subpath": "/input/thumbstick/y"},
|
||
|
{"subpath": "/input/thumbstick/click"},
|
||
|
{"subpath": "/input/thumbstick/touch"},
|
||
|
{"subpath": "/input/thumbrest/touch"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"},
|
||
|
{"subpath": "/output/haptic"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/valve/index_controller": {
|
||
|
"title": "Valve Index Controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/system/click", "system": "true"},
|
||
|
{"subpath": "/input/system/touch", "system": "true"},
|
||
|
{"subpath": "/input/a/click"},
|
||
|
{"subpath": "/input/a/touch"},
|
||
|
{"subpath": "/input/b/click"},
|
||
|
{"subpath": "/input/b/touch"},
|
||
|
{"subpath": "/input/squeeze/value"},
|
||
|
{"subpath": "/input/squeeze/force"},
|
||
|
{"subpath": "/input/trigger/click"},
|
||
|
{"subpath": "/input/trigger/value"},
|
||
|
{"subpath": "/input/trigger/touch"},
|
||
|
{"subpath": "/input/thumbstick/x"},
|
||
|
{"subpath": "/input/thumbstick/y"},
|
||
|
{"subpath": "/input/thumbstick/click"},
|
||
|
{"subpath": "/input/thumbstick/touch"},
|
||
|
{"subpath": "/input/trackpad/x"},
|
||
|
{"subpath": "/input/trackpad/y"},
|
||
|
{"subpath": "/input/trackpad/force"},
|
||
|
{"subpath": "/input/trackpad/touch"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"},
|
||
|
{"subpath": "/output/haptic"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/microsoft/hand_interaction": {
|
||
|
"title": "Microsoft hand interaction",
|
||
|
"extension": "XR_MSFT_hand_interaction",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/select/value"},
|
||
|
{"subpath": "/input/squeeze/value"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/aim/pose"}
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"/interaction_profiles/mnd/ball_on_a_stick_controller": {
|
||
|
"title": "Monado ball on a stick controller",
|
||
|
"extension": "XR_MND_ball_on_a_stick_controller",
|
||
|
"user_paths": [
|
||
|
"/user/hand/left",
|
||
|
"/user/hand/right"
|
||
|
],
|
||
|
"components": [
|
||
|
{"subpath": "/input/system/click", "system": "true"},
|
||
|
{"subpath": "/input/menu/click"},
|
||
|
{"subpath": "/input/start/click"},
|
||
|
{"subpath": "/input/select/click"},
|
||
|
{"subpath": "/input/square_mnd/click"},
|
||
|
{"subpath": "/input/cross_mnd/click"},
|
||
|
{"subpath": "/input/circle_mnd/click"},
|
||
|
{"subpath": "/input/triangle_mnd/click"},
|
||
|
{"subpath": "/input/trigger/value"},
|
||
|
{"subpath": "/input/grip/pose"},
|
||
|
{"subpath": "/input/ball_mnd/pose"},
|
||
|
{"subpath": "/input/aim/pose"},
|
||
|
{"subpath": "/output/haptic"}
|
||
|
]
|
||
|
}
|
||
|
}
|