diff --git a/src/xrt/auxiliary/bindings/bindings.json b/src/xrt/auxiliary/bindings/bindings.json index 2517bb6a4..3f1f36875 100644 --- a/src/xrt/auxiliary/bindings/bindings.json +++ b/src/xrt/auxiliary/bindings/bindings.json @@ -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" + } + } + } } } }