mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
a/bindings: Generate bindings for vive tracker interaction profile
This commit is contained in:
parent
d89deb2d95
commit
2b2a944507
|
@ -1375,6 +1375,76 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/interaction_profiles/htc/vive_tracker_htcx": {
|
||||
"title": "HTC Vive Tracker",
|
||||
"type": "tracked_controller",
|
||||
"monado_device": "XRT_DEVICE_VIVE_TRACKER",
|
||||
"extension": "XR_HTCX_vive_tracker_interaction",
|
||||
"subaction_paths": [
|
||||
"/user/hand/left",
|
||||
"/user/hand/right"
|
||||
],
|
||||
"subpaths": {
|
||||
"/input/system": {
|
||||
"type": "button",
|
||||
"localized_name": "System",
|
||||
"components": ["click"],
|
||||
"monado_bindings": {
|
||||
"click": "XRT_INPUT_VIVE_TRACKER_SYSTEM_CLICK"
|
||||
}
|
||||
},
|
||||
"/input/squeeze": {
|
||||
"type": "button",
|
||||
"localized_name": "Squeeze",
|
||||
"components": ["click"],
|
||||
"monado_bindings": {
|
||||
"click": "XRT_INPUT_VIVE_TRACKER_SQUEEZE_CLICK"
|
||||
}
|
||||
},
|
||||
"/input/menu": {
|
||||
"type": "button",
|
||||
"localized_name": "Menu",
|
||||
"components": ["click"],
|
||||
"monado_bindings": {
|
||||
"click": "XRT_INPUT_VIVE_TRACKER_MENU_CLICK"
|
||||
}
|
||||
},
|
||||
"/input/trigger": {
|
||||
"type": "trigger",
|
||||
"localized_name": "Trigger",
|
||||
"components": ["value"],
|
||||
"monado_bindings": {
|
||||
"value": "XRT_INPUT_VIVE_TRACKER_TRIGGER_VALUE"
|
||||
}
|
||||
},
|
||||
"/input/trackpad": {
|
||||
"type": "trackpad",
|
||||
"localized_name": "Trackpad",
|
||||
"components": ["click", "touch", "position"],
|
||||
"monado_bindings": {
|
||||
"click": "XRT_INPUT_VIVE_TRACKER_TRACKPAD_CLICK",
|
||||
"touch": "XRT_INPUT_VIVE_TRACKER_TRACKPAD_TOUCH",
|
||||
"position": "XRT_INPUT_VIVE_TRACKER_TRACKPAD"
|
||||
}
|
||||
},
|
||||
"/input/grip": {
|
||||
"type": "pose",
|
||||
"localized_name": "Grip",
|
||||
"components": ["pose"],
|
||||
"monado_bindings": {
|
||||
"pose": "XRT_INPUT_VIVE_TRACKER_GRIP_POSE"
|
||||
}
|
||||
},
|
||||
"/output/haptic": {
|
||||
"type": "vibration",
|
||||
"localized_name": "Haptic",
|
||||
"components": ["haptic"],
|
||||
"monado_bindings": {
|
||||
"haptic": "XRT_OUTPUT_NAME_VIVE_TRACKER_HAPTIC"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue