overte/interface/resources/controllers/openxr.json
2025-04-02 02:41:08 +10:00

35 lines
2 KiB
JSON

{
"name": "OpenXR to Standard",
"channels": [
{ "from": "OpenXR.LeftHand", "to": "Standard.LeftHand" },
{ "from": "OpenXR.RightHand", "to": "Standard.RightHand" },
{ "from": "OpenXR.Head", "to" : "Standard.Head", "when" : [ "Application.InHMD"] },
{ "from": "OpenXR.LT", "to": "Standard.LT", "filters": [{"type": "deadZone", "min": 0.05}]},
{ "from": "OpenXR.RT", "to": "Standard.RT", "filters": [{"type": "deadZone", "min": 0.05}]},
{ "from": "OpenXR.LTClick", "to": "Standard.LTClick" },
{ "from": "OpenXR.RTClick", "to": "Standard.RTClick" },
{ "from": "OpenXR.LeftGrip", "to": "Standard.LeftGrip", "filters": [{ "type": "deadZone", "min": 0.05 }] },
{ "from": "OpenXR.RightGrip", "to": "Standard.RightGrip", "filters": [{ "type": "deadZone", "min": 0.05 }] },
{ "from": "OpenXR.LX", "to": "Standard.LX", "filters": [{ "type": "deadZone", "min": 0.05 }] },
{ "from": "OpenXR.LY", "to": "Standard.LY", "filters": [{ "type": "deadZone", "min": 0.05 }] },
{ "from": "OpenXR.LX", "to": "Actions.TranslateX", "peek": true, "filters": [{ "type": "deadZone", "min": 0.05 }] },
{ "from": "OpenXR.LY", "to": "Actions.TranslateZ", "peek": true, "filters": [{ "type": "deadZone", "min": 0.05 }] },
{ "from": "OpenXR.RX", "to": "Standard.RX"},
{ "from": "OpenXR.RY", "to": "Standard.RY" },
{ "from": "OpenXR.LS", "to": "Standard.LS" },
{ "from": "OpenXR.RS", "to": "Standard.RS" },
{ "from": "OpenXR.LSTouch", "to": "Standard.LSTouch" },
{ "from": "OpenXR.RSTouch", "to": "Standard.RSTouch" },
{ "from": "OpenXR.LeftPrimaryThumb", "to": "Standard.LeftPrimaryThumb" },
{ "from": "OpenXR.RightPrimaryThumb", "to": "Standard.RightPrimaryThumb" },
{ "from": "OpenXR.LeftSecondaryThumb", "to": "Standard.LeftSecondaryThumb" },
{ "from": "OpenXR.RightSecondaryThumb", "to": "Standard.RightSecondaryThumb" }
]
}