215 lines
4.0 KiB
JSON
215 lines
4.0 KiB
JSON
{
|
|
"name": "Default bindings for Vive",
|
|
"controller_type": "vive_controller",
|
|
"last_edited_by": "UnrealEngine",
|
|
"bindings":
|
|
{
|
|
"/actions/main":
|
|
{
|
|
"sources": [
|
|
{
|
|
"mode": "trigger",
|
|
"path": "/user/hand/left/input/trigger",
|
|
"inputs":
|
|
{
|
|
"click":
|
|
{
|
|
"output": "/actions/main/in/Vive_L_Trigger"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trigger",
|
|
"path": "/user/hand/right/input/trigger",
|
|
"inputs":
|
|
{
|
|
"click":
|
|
{
|
|
"output": "/actions/main/in/Vive_R_Trigger"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "button",
|
|
"path": "/user/hand/left/input/application_menu",
|
|
"inputs":
|
|
{
|
|
"click":
|
|
{
|
|
"output": "/actions/main/in/Vive_L_Menu"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "button",
|
|
"path": "/user/hand/right/input/application_menu",
|
|
"inputs":
|
|
{
|
|
"click":
|
|
{
|
|
"output": "/actions/main/in/Vive_R_Menu"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trackpad",
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"inputs":
|
|
{
|
|
"click":
|
|
{
|
|
"output": "/actions/main/in/Vive_L_Trackpad"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trackpad",
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"inputs":
|
|
{
|
|
"click":
|
|
{
|
|
"output": "/actions/main/in/Vive_R_Trackpad"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "dpad",
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"parameters":
|
|
{
|
|
"sub_mode": "click"
|
|
},
|
|
"inputs":
|
|
{
|
|
"north":
|
|
{
|
|
"output": "/actions/main/in/Vive_R_TrackpadUp"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "dpad",
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"parameters":
|
|
{
|
|
"sub_mode": "click"
|
|
},
|
|
"inputs":
|
|
{
|
|
"south":
|
|
{
|
|
"output": "/actions/main/in/Vive_R_TrackpadDown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "dpad",
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"parameters":
|
|
{
|
|
"sub_mode": "click"
|
|
},
|
|
"inputs":
|
|
{
|
|
"north":
|
|
{
|
|
"output": "/actions/main/in/Vive_L_TrackpadUp"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "dpad",
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"parameters":
|
|
{
|
|
"sub_mode": "click"
|
|
},
|
|
"inputs":
|
|
{
|
|
"south":
|
|
{
|
|
"output": "/actions/main/in/Vive_L_TrackpadDown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trackpad",
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"inputs":
|
|
{
|
|
"position":
|
|
{
|
|
"output": "/actions/main/in/Vive_Tranckpad_R_X,Vive_Tranckpad_R_Y X Y_axis2d"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trackpad",
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"inputs":
|
|
{
|
|
"position":
|
|
{
|
|
"output": "/actions/main/in/Vive_Tranckpad_L_X,Vive_Tranckpad_L_Y X Y_axis2d"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trigger",
|
|
"path": "/user/hand/left/input/trigger",
|
|
"inputs":
|
|
{
|
|
"pull":
|
|
{
|
|
"output": "/actions/main/in/Vive_L_TriggerAxis axis"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"mode": "trigger",
|
|
"path": "/user/hand/right/input/trigger",
|
|
"inputs":
|
|
{
|
|
"pull":
|
|
{
|
|
"output": "/actions/main/in/Vive_R_TriggerAxis 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": "AnKangCAVE51-23901901"
|
|
} |