overte-thingvellir/interface/resources/controllers/openxr_index.json
Lubosz Sarnecki 07b23cc5c4 OpenXrInput: Improve mapping for the Index controller.
* Add thumbstick click and touch.
* Add face and trigger touch.

Use left primary / secondary instead of face button names.
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": "Standard.LY" },
{ "from": "Index.LX", "to": "Standard.LX" },
{ "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" }
]
}