diff --git a/src/xrt/auxiliary/bindings/bindings.json b/src/xrt/auxiliary/bindings/bindings.json index cab380d46..c33465b82 100644 --- a/src/xrt/auxiliary/bindings/bindings.json +++ b/src/xrt/auxiliary/bindings/bindings.json @@ -4262,6 +4262,181 @@ } } } + }, + + "/interaction_profiles/mndx/pssense_controller_mndx": { + "title": "PS VR2 Sense Controller", + "type": "tracked_controller", + "steamvr_controllertype": "oculus_touch", + "extension": "MNDX_psvr2_interaction", + "monado_device": "XRT_DEVICE_PSSENSE", + "extended_by": [ + "ext/palm_pose", + "grip_surface", + "ext/hand_interaction_poses" + ], + "subaction_paths": [ + "/user/hand/left", + "/user/hand/right" + ], + "subpaths": { + "/input/system": { + "type": "button", + "localized_name": "System", + "components": [ + "click" + ], + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_PS_CLICK" + } + }, + "/input/share_mndx": { + "type": "button", + "localized_name": "Share", + "components": [ + "click" + ], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_SHARE_CLICK" + } + }, + "/input/options_mndx": { + "type": "button", + "localized_name": "Options", + "components": [ + "click" + ], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_OPTIONS_CLICK" + } + }, + "/input/aim": { + "type": "pose", + "localized_name": "Aim", + "components": [ + "pose" + ], + "monado_bindings": { + "pose": "XRT_INPUT_PSSENSE_AIM_POSE" + } + }, + "/input/grip": { + "type": "pose", + "localized_name": "Grip", + "components": [ + "pose" + ], + "monado_bindings": { + "pose": "XRT_INPUT_PSSENSE_GRIP_POSE" + } + }, + "/input/trigger": { + "type": "trigger", + "localized_name": "Trigger", + "components": [ + "proximity", + "touch", + "value" + ], + "monado_bindings": { + "proximity": "XRT_INPUT_PSSENSE_TRIGGER_PROXIMITY_FLOAT", + "touch": "XRT_INPUT_PSSENSE_TRIGGER_TOUCH", + "value": "XRT_INPUT_PSSENSE_TRIGGER_VALUE" + } + }, + "/input/thumbstick": { + "type": "joystick", + "localized_name": "Thumbstick", + "components": [ + "position", + "touch", + "click" + ], + "monado_bindings": { + "position": "XRT_INPUT_PSSENSE_THUMBSTICK", + "touch": "XRT_INPUT_PSSENSE_THUMBSTICK_TOUCH", + "click": "XRT_INPUT_PSSENSE_THUMBSTICK_CLICK" + } + }, + "/input/squeeze": { + "type": "trigger", + "localized_name": "Squeeze", + "components": [ + "proximity", + "click", + "touch" + ], + "monado_bindings": { + "proximity": "XRT_INPUT_PSSENSE_SQUEEZE_PROXIMITY_FLOAT", + "click": "XRT_INPUT_PSSENSE_SQUEEZE_CLICK", + "touch": "XRT_INPUT_PSSENSE_SQUEEZE_TOUCH" + } + }, + "/input/cross_mndx": { + "type": "button", + "localized_name": "Cross", + "components": [ + "click", + "touch" + ], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_CROSS_CLICK", + "touch": "XRT_INPUT_PSSENSE_CROSS_TOUCH" + } + }, + "/input/circle_mndx": { + "type": "button", + "localized_name": "Circle", + "components": [ + "click", + "touch" + ], + "side": "right", + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_CIRCLE_CLICK", + "touch": "XRT_INPUT_PSSENSE_CIRCLE_TOUCH" + } + }, + "/input/square_mndx": { + "type": "button", + "localized_name": "Square", + "components": [ + "click", + "touch" + ], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_SQUARE_CLICK", + "touch": "XRT_INPUT_PSSENSE_SQUARE_TOUCH" + } + }, + "/input/triangle_mndx": { + "type": "button", + "localized_name": "Triangle", + "components": [ + "click", + "touch" + ], + "side": "left", + "monado_bindings": { + "click": "XRT_INPUT_PSSENSE_TRIANGLE_CLICK", + "touch": "XRT_INPUT_PSSENSE_TRIANGLE_TOUCH" + } + }, + "/output/haptic": { + "type": "vibration", + "localized_name": "Haptic", + "components": [ + "haptic" + ], + "monado_bindings": { + "haptic": "XRT_OUTPUT_NAME_PSSENSE_VIBRATION" + } + } + } } }