diff --git a/src/xrt/auxiliary/bindings/bindings.json b/src/xrt/auxiliary/bindings/bindings.json index f34f97bdb..6e9862459 100644 --- a/src/xrt/auxiliary/bindings/bindings.json +++ b/src/xrt/auxiliary/bindings/bindings.json @@ -980,6 +980,448 @@ } }, + "/interaction_profiles/meta/touch_controller_rift_cv1": { + "title": "Meta Touch Controller (Rift CV1)", + "type": "tracked_controller", + "steamvr_controllertype": "oculus_touch", + "monado_device": "XRT_DEVICE_TOUCH_CONTROLLER", + "extended_by": ["ext/palm_pose", "grip_surface", "ext/hand_interaction_poses"], + "openxr_version": { + "promoted": { + "major": "1", + "minor": "1" + } + }, + "subaction_paths": [ + "/user/hand/left", + "/user/hand/right" + ], + "subpaths": { + "/input/x": { + "type": "button", + "localized_name": "X", + "components": ["click", "touch"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_X_CLICK", + "touch": "XRT_INPUT_TOUCH_X_TOUCH" + } + }, + "/input/y": { + "type": "button", + "localized_name": "Y", + "components": ["click", "touch"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_Y_CLICK", + "touch": "XRT_INPUT_TOUCH_Y_TOUCH" + } + }, + "/input/menu": { + "type": "button", + "localized_name": "Menu", + "components": ["click"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_MENU_CLICK" + } + }, + "/input/a": { + "type": "button", + "localized_name": "A", + "components": ["click", "touch"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_A_CLICK", + "touch": "XRT_INPUT_TOUCH_A_TOUCH" + } + }, + "/input/b": { + "type": "button", + "localized_name": "B", + "components": ["click", "touch"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_B_CLICK", + "touch": "XRT_INPUT_TOUCH_B_TOUCH" + } + }, + "/input/system": { + "type": "button", + "localized_name": "System", + "components": ["click"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_SYSTEM_CLICK" + } + }, + "/input/squeeze": { + "type": "trigger", + "localized_name": "Squeeze", + "components": ["value"], + "monado_bindings": { + "value": "XRT_INPUT_TOUCH_SQUEEZE_VALUE" + } + }, + "/input/trigger": { + "type": "trigger", + "localized_name": "Trigger", + "components": ["touch", "value", "proximity"], + "monado_bindings": { + "touch": "XRT_INPUT_TOUCH_TRIGGER_TOUCH", + "value": "XRT_INPUT_TOUCH_TRIGGER_VALUE", + "proximity": "XRT_INPUT_TOUCH_TRIGGER_PROXIMITY" + } + }, + "/input/thumbstick": { + "type": "joystick", + "localized_name": "Thumbstick", + "components": ["click", "touch", "position"], + "dpad_emulation": { + "position": "position", + "center": false + }, + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_THUMBSTICK_CLICK", + "touch": "XRT_INPUT_TOUCH_THUMBSTICK_TOUCH", + "position": "XRT_INPUT_TOUCH_THUMBSTICK" + } + }, + "/input/thumbrest": { + "type": "button", + "localized_name": "Thumb Rest", + "components": ["touch"], + "monado_bindings": { + "touch": "XRT_INPUT_TOUCH_THUMBREST_TOUCH" + } + }, + "/input/thumb_resting_surfaces": { + "type": "button", + "localized_name": "Thumb", + "components": ["proximity"], + "monado_bindings": { + "force": "XRT_INPUT_TOUCH_THUMB_PROXIMITY" + } + }, + "/input/grip": { + "type": "pose", + "localized_name": "Grip", + "components": ["pose"], + "monado_bindings": { + "pose": "XRT_INPUT_TOUCH_GRIP_POSE" + } + }, + "/input/aim": { + "type": "pose", + "localized_name": "Aim", + "components": ["pose"], + "monado_bindings": { + "pose": "XRT_INPUT_TOUCH_AIM_POSE" + } + }, + "/output/haptic": { + "type": "vibration", + "localized_name": "Haptic", + "components": ["haptic"], + "monado_bindings": { + "haptic": "XRT_OUTPUT_NAME_TOUCH_HAPTIC" + } + } + } + }, + + "/interaction_profiles/meta/touch_controller_quest_1_rift_s": { + "title": "Meta Touch Controller (Rift S / Quest 1)", + "type": "tracked_controller", + "steamvr_controllertype": "oculus_touch", + "monado_device": "XRT_DEVICE_TOUCH_CONTROLLER", + "extended_by": ["ext/palm_pose", "grip_surface", "ext/hand_interaction_poses"], + "openxr_version": { + "promoted": { + "major": "1", + "minor": "1" + } + }, + "subaction_paths": [ + "/user/hand/left", + "/user/hand/right" + ], + "subpaths": { + "/input/x": { + "type": "button", + "localized_name": "X", + "components": ["click", "touch"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_X_CLICK", + "touch": "XRT_INPUT_TOUCH_X_TOUCH" + } + }, + "/input/y": { + "type": "button", + "localized_name": "Y", + "components": ["click", "touch"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_Y_CLICK", + "touch": "XRT_INPUT_TOUCH_Y_TOUCH" + } + }, + "/input/menu": { + "type": "button", + "localized_name": "Menu", + "components": ["click"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_MENU_CLICK" + } + }, + "/input/a": { + "type": "button", + "localized_name": "A", + "components": ["click", "touch"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_A_CLICK", + "touch": "XRT_INPUT_TOUCH_A_TOUCH" + } + }, + "/input/b": { + "type": "button", + "localized_name": "B", + "components": ["click", "touch"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_B_CLICK", + "touch": "XRT_INPUT_TOUCH_B_TOUCH" + } + }, + "/input/system": { + "type": "button", + "localized_name": "System", + "components": ["click"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_SYSTEM_CLICK" + } + }, + "/input/squeeze": { + "type": "trigger", + "localized_name": "Squeeze", + "components": ["value"], + "monado_bindings": { + "value": "XRT_INPUT_TOUCH_SQUEEZE_VALUE" + } + }, + "/input/trigger": { + "type": "trigger", + "localized_name": "Trigger", + "components": ["touch", "value", "proximity"], + "monado_bindings": { + "touch": "XRT_INPUT_TOUCH_TRIGGER_TOUCH", + "value": "XRT_INPUT_TOUCH_TRIGGER_VALUE", + "proximity": "XRT_INPUT_TOUCH_TRIGGER_PROXIMITY" + } + }, + "/input/thumbstick": { + "type": "joystick", + "localized_name": "Thumbstick", + "components": ["click", "touch", "position"], + "dpad_emulation": { + "position": "position", + "center": false + }, + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_THUMBSTICK_CLICK", + "touch": "XRT_INPUT_TOUCH_THUMBSTICK_TOUCH", + "position": "XRT_INPUT_TOUCH_THUMBSTICK" + } + }, + "/input/thumb_resting_surfaces": { + "type": "button", + "localized_name": "Thumb", + "components": ["proximity"], + "monado_bindings": { + "force": "XRT_INPUT_TOUCH_THUMB_PROXIMITY" + } + }, + "/input/grip": { + "type": "pose", + "localized_name": "Grip", + "components": ["pose"], + "monado_bindings": { + "pose": "XRT_INPUT_TOUCH_GRIP_POSE" + } + }, + "/input/aim": { + "type": "pose", + "localized_name": "Aim", + "components": ["pose"], + "monado_bindings": { + "pose": "XRT_INPUT_TOUCH_AIM_POSE" + } + }, + "/output/haptic": { + "type": "vibration", + "localized_name": "Haptic", + "components": ["haptic"], + "monado_bindings": { + "haptic": "XRT_OUTPUT_NAME_TOUCH_HAPTIC" + } + } + } + }, + + "/interaction_profiles/meta/touch_controller_quest_2": { + "title": "Meta Touch Controller (Quest 2)", + "type": "tracked_controller", + "steamvr_controllertype": "oculus_touch", + "monado_device": "XRT_DEVICE_TOUCH_CONTROLLER", + "extended_by": ["ext/palm_pose", "grip_surface", "ext/hand_interaction_poses"], + "openxr_version": { + "promoted": { + "major": "1", + "minor": "1" + } + }, + "subaction_paths": [ + "/user/hand/left", + "/user/hand/right" + ], + "subpaths": { + "/input/x": { + "type": "button", + "localized_name": "X", + "components": ["click", "touch"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_X_CLICK", + "touch": "XRT_INPUT_TOUCH_X_TOUCH" + } + }, + "/input/y": { + "type": "button", + "localized_name": "Y", + "components": ["click", "touch"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_Y_CLICK", + "touch": "XRT_INPUT_TOUCH_Y_TOUCH" + } + }, + "/input/menu": { + "type": "button", + "localized_name": "Menu", + "components": ["click"], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_MENU_CLICK" + } + }, + "/input/a": { + "type": "button", + "localized_name": "A", + "components": ["click", "touch"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_A_CLICK", + "touch": "XRT_INPUT_TOUCH_A_TOUCH" + } + }, + "/input/b": { + "type": "button", + "localized_name": "B", + "components": ["click", "touch"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_B_CLICK", + "touch": "XRT_INPUT_TOUCH_B_TOUCH" + } + }, + "/input/system": { + "type": "button", + "localized_name": "System", + "components": ["click"], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_SYSTEM_CLICK" + } + }, + "/input/squeeze": { + "type": "trigger", + "localized_name": "Squeeze", + "components": ["value"], + "monado_bindings": { + "value": "XRT_INPUT_TOUCH_SQUEEZE_VALUE" + } + }, + "/input/trigger": { + "type": "trigger", + "localized_name": "Trigger", + "components": ["touch", "value", "proximity"], + "monado_bindings": { + "touch": "XRT_INPUT_TOUCH_TRIGGER_TOUCH", + "value": "XRT_INPUT_TOUCH_TRIGGER_VALUE", + "proximity": "XRT_INPUT_TOUCH_TRIGGER_PROXIMITY" + } + }, + "/input/thumbstick": { + "type": "joystick", + "localized_name": "Thumbstick", + "components": ["click", "touch", "position"], + "dpad_emulation": { + "position": "position", + "center": false + }, + "monado_bindings": { + "click": "XRT_INPUT_TOUCH_THUMBSTICK_CLICK", + "touch": "XRT_INPUT_TOUCH_THUMBSTICK_TOUCH", + "position": "XRT_INPUT_TOUCH_THUMBSTICK" + } + }, + "/input/thumbrest": { + "type": "button", + "localized_name": "Thumb Rest", + "components": ["touch"], + "monado_bindings": { + "touch": "XRT_INPUT_TOUCH_THUMBREST_TOUCH" + } + }, + "/input/thumb_resting_surfaces": { + "type": "button", + "localized_name": "Thumb", + "components": ["proximity"], + "monado_bindings": { + "force": "XRT_INPUT_TOUCH_THUMB_PROXIMITY" + } + }, + "/input/grip": { + "type": "pose", + "localized_name": "Grip", + "components": ["pose"], + "monado_bindings": { + "pose": "XRT_INPUT_TOUCH_GRIP_POSE" + } + }, + "/input/aim": { + "type": "pose", + "localized_name": "Aim", + "components": ["pose"], + "monado_bindings": { + "pose": "XRT_INPUT_TOUCH_AIM_POSE" + } + }, + "/output/haptic": { + "type": "vibration", + "localized_name": "Haptic", + "components": ["haptic"], + "monado_bindings": { + "haptic": "XRT_OUTPUT_NAME_TOUCH_HAPTIC" + } + } + } + }, + "/interaction_profiles/valve/index_controller": { "title": "Valve Index Controller", "type": "tracked_controller",