221 lines
4.2 KiB
JSON
221 lines
4.2 KiB
JSON
|
{
|
||
|
"name": "Default bindings for Vive",
|
||
|
"controller_type": "vive_controller",
|
||
|
"last_edited_by": "UnrealEngine",
|
||
|
"bindings":
|
||
|
{
|
||
|
"/actions/main":
|
||
|
{
|
||
|
"sources": [
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"touch":
|
||
|
{
|
||
|
"output": "/actions/main/in/TeleportLeft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"touch":
|
||
|
{
|
||
|
"output": "/actions/main/in/TeleportRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/grip",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/AlternateGripRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/grip",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/AlternateGripLeft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/PrimaryGripLeft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/PrimaryGripRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/application_menu",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/LaserBeamRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/application_menu",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/LaserBeamLeft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/UseHeldObjectLeft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/UseHeldObjectRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/TriggerInteractionLEft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/TriggerInteractionRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/MotionControllerThumbLeft_X,MotionControllerThumbLeft_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/MotionControllerThumbRight_X,MotionControllerThumbRight_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "scalar_constant",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"value":
|
||
|
{
|
||
|
"output": "/actions/main/in/ControllerMovementLeft axis"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "scalar_constant",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"value":
|
||
|
{
|
||
|
"output": "/actions/main/in/ControllerMovementRight axis"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"poses": [
|
||
|
{
|
||
|
"output": "/actions/main/in/controllerleft",
|
||
|
"path": "/user/hand/left/pose/raw",
|
||
|
"requirement": "optional"
|
||
|
},
|
||
|
{
|
||
|
"output": "/actions/main/in/controllerright",
|
||
|
"path": "/user/hand/right/pose/raw"
|
||
|
}
|
||
|
],
|
||
|
"skeleton": [
|
||
|
{
|
||
|
"output": "/actions/main/in/skeletonleft",
|
||
|
"path": "/user/hand/left/input/skeleton/left"
|
||
|
},
|
||
|
{
|
||
|
"output": "/actions/main/in/skeletonright",
|
||
|
"path": "/user/hand/right/input/skeleton/right"
|
||
|
}
|
||
|
],
|
||
|
"haptics": [
|
||
|
{
|
||
|
"output": "/actions/main/out/vibrateleft",
|
||
|
"path": "/user/hand/left/output/haptic"
|
||
|
},
|
||
|
{
|
||
|
"output": "/actions/main/out/vibrateright",
|
||
|
"path": "/user/hand/right/output/haptic"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"description": "Virtual Reality BP Game Template-11100242"
|
||
|
}
|