bindings_oculus_touch.json 5.35 KB
{
  "bindings": {
    "/actions/buggy": {
      "chords": [],
      "poses": [],
      "haptics": [],
      "sources": [
        {
          "path": "/user/hand/left/input/trigger",
          "mode": "trigger",
          "parameters": {},
          "inputs": {
            "pull": {
              "output": "/actions/buggy/in/throttle"
            }
          }
        },
        {
          "path": "/user/hand/right/input/trigger",
          "mode": "trigger",
          "parameters": {},
          "inputs": {
            "pull": {
              "output": "/actions/buggy/in/throttle"
            }
          }
        },
        {
          "path": "/user/hand/left/input/joystick",
          "mode": "joystick",
          "parameters": {},
          "inputs": {
            "position": {
              "output": "/actions/buggy/in/steering"
            }
          }
        },
        {
          "path": "/user/hand/right/input/joystick",
          "mode": "joystick",
          "parameters": {},
          "inputs": {
            "position": {
              "output": "/actions/buggy/in/steering"
            }
          }
        },
        {
          "path": "/user/hand/left/input/x",
          "mode": "button",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/buggy/in/brake"
            }
          }
        },
        {
          "path": "/user/hand/right/input/x",
          "mode": "button",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/buggy/in/brake"
            }
          }
        },
        {
          "path": "/user/hand/left/input/y",
          "mode": "button",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/buggy/in/reset"
            }
          }
        },
        {
          "path": "/user/hand/right/input/y",
          "mode": "button",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/buggy/in/reset"
            }
          }
        },
        {
          "path": "/user/hand/right/input/a",
          "mode": "button",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/buggy/in/brake"
            }
          }
        },
        {
          "path": "/user/hand/right/input/b",
          "mode": "button",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/buggy/in/reset"
            }
          }
        }
      ],
      "skeleton": []
    },
    "/actions/default": {
      "chords": [],
      "poses": [],
      "haptics": [
        {
          "output": "/actions/default/out/haptic",
          "path": "/user/hand/left/output/haptic"
        },
        {
          "output": "/actions/default/out/haptic",
          "path": "/user/hand/right/output/haptic"
        }
      ],
      "sources": [
        {
          "path": "/user/hand/left/input/joystick",
          "mode": "dpad",
          "parameters": {
            "deadzone_pct": "25",
            "overlap_pct": "30",
            "sub_mode": "touch"
          },
          "inputs": {
            "north": {
              "output": "/actions/default/in/teleport"
            }
          }
        },
        {
          "path": "/user/hand/right/input/joystick",
          "mode": "dpad",
          "parameters": {
            "deadzone_pct": "25",
            "overlap_pct": "30",
            "sub_mode": "touch"
          },
          "inputs": {
            "north": {
              "output": "/actions/default/in/teleport"
            }
          }
        },
        {
          "path": "/user/hand/left/input/grip",
          "mode": "trigger",
          "parameters": {},
          "inputs": {
            "pull": {
              "output": "/actions/default/in/squeeze"
            }
          }
        },
        {
          "path": "/user/hand/right/input/grip",
          "mode": "trigger",
          "parameters": {},
          "inputs": {
            "pull": {
              "output": "/actions/default/in/squeeze"
            }
          }
        }
      ],
      "skeleton": [
        {
          "output": "/actions/default/in/skeletonlefthand",
          "path": "/user/hand/left/input/skeleton/left"
        },
        {
          "output": "/actions/default/in/skeletonrighthand",
          "path": "/user/hand/right/input/skeleton/right"
        }
      ]
    },
    "/actions/platformer": {
      "chords": [],
      "poses": [],
      "haptics": [],
      "sources": [
        {
          "path": "/user/hand/left/input/joystick",
          "mode": "joystick",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/platformer/in/jump"
            },
            "position": {
              "output": "/actions/platformer/in/move"
            }
          }
        },
        {
          "path": "/user/hand/right/input/joystick",
          "mode": "joystick",
          "parameters": {},
          "inputs": {
            "click": {
              "output": "/actions/platformer/in/jump"
            },
            "position": {
              "output": "/actions/platformer/in/move"
            }
          }
        }
      ],
      "skeleton": []
    }
  },
  "controller_type": "oculus_touch",
  "description": "",
  "name": "oculus_touch"
}