added deadzones to oculus touch movements

This commit is contained in:
SamGondelman 2016-08-02 18:19:58 -07:00
parent a9c6d69aa6
commit 1ce7623f41

View file

@ -6,8 +6,17 @@
{ "from": "OculusTouch.X", "to": "Standard.LeftPrimaryThumb" }, { "from": "OculusTouch.X", "to": "Standard.LeftPrimaryThumb" },
{ "from": "OculusTouch.Y", "to": "Standard.LeftSecondaryThumb" }, { "from": "OculusTouch.Y", "to": "Standard.LeftSecondaryThumb" },
{ "from": "OculusTouch.LY", "filters": "invert", "to": "Standard.LY" }, { "from": "OculusTouch.LY", "to": "Standard.LY",
{ "from": "OculusTouch.LX", "to": "Standard.LX" }, "filters": [
{ "type": "deadZone", "min": 0.05 },
"invert"
]
},
{ "from": "OculusTouch.LX", "to": "Standard.LX",
"filters": [
{ "type": "deadZone", "min": 0.05 }
]
},
{ "from": "OculusTouch.LT", "to": "Standard.LTClick", { "from": "OculusTouch.LT", "to": "Standard.LTClick",
"peek": true, "peek": true,
"filters": [ { "type": "hysteresis", "min": 0.85, "max": 0.9 } ] "filters": [ { "type": "hysteresis", "min": 0.85, "max": 0.9 } ]
@ -17,8 +26,17 @@
{ "from": "OculusTouch.LeftGrip", "to": "Standard.LeftGrip" }, { "from": "OculusTouch.LeftGrip", "to": "Standard.LeftGrip" },
{ "from": "OculusTouch.LeftHand", "to": "Standard.LeftHand" }, { "from": "OculusTouch.LeftHand", "to": "Standard.LeftHand" },
{ "from": "OculusTouch.RY", "filters": "invert", "to": "Standard.RY" }, { "from": "OculusTouch.RY", "to": "Standard.RY",
{ "from": "OculusTouch.RX", "to": "Standard.RX" }, "filters": [
{ "type": "deadZone", "min": 0.05 },
"invert"
]
},
{ "from": "OculusTouch.RX", "to": "Standard.RX",
"filters": [
{ "type": "deadZone", "min": 0.05 }
]
},
{ "from": "OculusTouch.RT", "to": "Standard.RTClick", { "from": "OculusTouch.RT", "to": "Standard.RTClick",
"peek": true, "peek": true,
"filters": [ { "type": "hysteresis", "min": 0.85, "max": 0.9 } ] "filters": [ { "type": "hysteresis", "min": 0.85, "max": 0.9 } ]