overte-thingvellir/interface/resources/controllers/openxr_index.json
Lubosz Sarnecki 8dd80c6d75 controllers: openxr: Use actions for walking.
This makes the Y thumbstick axis work.
2025-02-13 08:12:01 +10:00

42 lines
2.2 KiB
JSON

{
"name": "OpenXR Index to Standard",
"channels": [
{ "from": "Index.LeftHand", "to": "Standard.LeftHand" },
{ "from": "Index.RightHand", "to": "Standard.RightHand" },
{ "from": "Index.Head", "to" : "Standard.Head", "when" : [ "Application.InHMD"] },
{ "from": "Index.RightPrimaryThumb", "to": "Standard.RightPrimaryThumb" },
{ "from": "Index.RightSecondaryThumb", "to": "Standard.RightSecondaryThumb" },
{ "from": "Index.LeftPrimaryThumb", "to": "Standard.LeftPrimaryThumb" },
{ "from": "Index.LeftSecondaryThumb", "to": "Standard.LeftSecondaryThumb" },
{ "from": "Index.LeftPrimaryThumbTouch", "to": "Standard.LeftPrimaryThumbTouch" },
{ "from": "Index.LeftSecondaryThumbTouch", "to": "Standard.LeftSecondaryThumbTouch" },
{ "from": "Index.LeftThumbUp", "to": "Standard.LeftThumbUp" },
{ "from": "Index.RightPrimaryThumbTouch", "to": "Standard.RightPrimaryThumbTouch" },
{ "from": "Index.RightSecondaryThumbTouch", "to": "Standard.RightSecondaryThumbTouch" },
{ "from": "Index.RightThumbUp", "to": "Standard.RightThumbUp" },
{ "from": "Index.LY", "to": "Actions.TranslateZ", "filters": ["invert"] },
{ "from": "Index.LX", "to": "Actions.TranslateX" },
{ "from": "Index.RY", "to": "Standard.RY" },
{ "from": "Index.RX", "to": "Standard.RX" },
{ "from": "Index.LS", "to": "Standard.LS" },
{ "from": "Index.RS", "to": "Standard.RS" },
{ "from": "Index.LSTouch", "to": "Standard.LSTouch" },
{ "from": "Index.RSTouch", "to": "Standard.RSTouch" },
{ "from": "Index.RT", "to": "Standard.RT" },
{ "from": "Index.LT", "to": "Standard.LT" },
{ "from": "Index.RTClick", "to": "Standard.RTClick" },
{ "from": "Index.LTClick", "to": "Standard.LTClick" },
{ "from": "Index.LeftPrimaryIndexTouch", "to": "Standard.LeftPrimaryIndexTouch" },
{ "from": "Index.RightPrimaryIndexTouch", "to": "Standard.RightPrimaryIndexTouch" },
{ "from": "Index.LeftIndexPoint", "to": "Standard.LeftIndexPoint" },
{ "from": "Index.RightIndexPoint", "to": "Standard.RightIndexPoint" },
{ "from": "Index.LeftApplicationMenu", "to": "Standard.Back" },
{ "from": "Index.RightApplicationMenu", "to": "Standard.Start" }
]
}