229 lines
4.3 KiB
JSON
229 lines
4.3 KiB
JSON
|
{
|
||
|
"name": "Default bindings for MixedReality",
|
||
|
"controller_type": "holographic_controller",
|
||
|
"last_edited_by": "UnrealEngine",
|
||
|
"bindings":
|
||
|
{
|
||
|
"/actions/main":
|
||
|
{
|
||
|
"sources": [
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/left/input/joystick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/TeleportLeft"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/right/input/joystick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"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": "dpad",
|
||
|
"path": "/user/hand/right/input/joystick",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"south":
|
||
|
{
|
||
|
"output": "/actions/main/in/LaserBeamRight"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/left/input/joystick",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"south":
|
||
|
{
|
||
|
"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": "joystick",
|
||
|
"path": "/user/hand/left/input/joystick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/MotionControllerThumbLeft_X,MotionControllerThumbLeft_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/right/input/joystick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/MotionControllerThumbRight_X,MotionControllerThumbRight_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "scalar_constant",
|
||
|
"path": "/user/hand/left/input/joystick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"value":
|
||
|
{
|
||
|
"output": "/actions/main/in/ControllerMovementLeft axis"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "scalar_constant",
|
||
|
"path": "/user/hand/right/input/joystick",
|
||
|
"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"
|
||
|
}
|