308 lines
8.6 KiB
JSON
308 lines
8.6 KiB
JSON
|
{
|
||
|
"bindings" : {
|
||
|
"/actions/buggy" : {
|
||
|
"sources" : [
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"pull" : {
|
||
|
"output" : "/actions/buggy/in/throttle"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "trigger",
|
||
|
"path" : "/user/hand/left/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"pull" : {
|
||
|
"output" : "/actions/buggy/in/throttle"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "trigger",
|
||
|
"path" : "/user/hand/right/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/buggy/in/steering"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/left/input/joystick"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/buggy/in/steering"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/right/input/joystick"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/reset"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/left/input/trackpad"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/reset"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/right/input/trackpad"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/brake"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/left/input/trackpad"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/brake"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/right/input/trackpad"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"/actions/default" : {
|
||
|
"haptics" : [
|
||
|
{
|
||
|
"output" : "/actions/default/out/haptic",
|
||
|
"path" : "/user/hand/left/output/haptic"
|
||
|
},
|
||
|
{
|
||
|
"output" : "/actions/default/out/haptic",
|
||
|
"path" : "/user/hand/right/output/haptic"
|
||
|
}
|
||
|
],
|
||
|
"poses" : [
|
||
|
{
|
||
|
"output" : "/actions/default/in/pose",
|
||
|
"path" : "/user/hand/left/pose/raw"
|
||
|
},
|
||
|
{
|
||
|
"output" : "/actions/default/in/pose",
|
||
|
"path" : "/user/hand/right/pose/raw"
|
||
|
}
|
||
|
],
|
||
|
"sources": [
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/interactui"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/interactui"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/grabpinch"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"parameters": {
|
||
|
"click_activate_threshold": "0.95",
|
||
|
"click_deactivate_threshold": "0.9"
|
||
|
},
|
||
|
"path": "/user/hand/left/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/grabpinch"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"parameters": {
|
||
|
"click_activate_threshold": "0.95",
|
||
|
"click_deactivate_threshold": "0.9"
|
||
|
},
|
||
|
"path": "/user/hand/right/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/grabgrip"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/grip"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/grabgrip"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/grip"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"pull": {
|
||
|
"output": "/actions/default/in/squeeze"
|
||
|
}
|
||
|
},
|
||
|
"mode": "trigger",
|
||
|
"path": "/user/hand/left/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"pull": {
|
||
|
"output": "/actions/default/in/squeeze"
|
||
|
}
|
||
|
},
|
||
|
"mode": "trigger",
|
||
|
"path": "/user/hand/right/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/teleport"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trackpad"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/teleport"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trackpad"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"north": {
|
||
|
"output": "/actions/default/in/teleport"
|
||
|
}
|
||
|
},
|
||
|
"mode": "dpad",
|
||
|
"parameters": {
|
||
|
"deadzone_pct": "25",
|
||
|
"overlap_pct": "30",
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"path": "/user/hand/left/input/joystick"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"north": {
|
||
|
"output": "/actions/default/in/teleport"
|
||
|
}
|
||
|
},
|
||
|
"mode": "dpad",
|
||
|
"parameters": {
|
||
|
"deadzone_pct": "25",
|
||
|
"overlap_pct": "30",
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"path": "/user/hand/right/input/joystick"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"east": {
|
||
|
"output": "/actions/default/in/snapturnright"
|
||
|
},
|
||
|
"west": {
|
||
|
"output": "/actions/default/in/snapturnleft"
|
||
|
}
|
||
|
},
|
||
|
"mode": "dpad",
|
||
|
"parameters": {
|
||
|
"deadzone_pct": "85",
|
||
|
"overlap_pct": "0",
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"path": "/user/hand/left/input/joystick"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"east": {
|
||
|
"output": "/actions/default/in/snapturnright"
|
||
|
},
|
||
|
"west": {
|
||
|
"output": "/actions/default/in/snapturnleft"
|
||
|
}
|
||
|
},
|
||
|
"mode": "dpad",
|
||
|
"parameters": {
|
||
|
"deadzone_pct": "85",
|
||
|
"overlap_pct": "0",
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"path": "/user/hand/right/input/joystick"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"/actions/platformer" : {
|
||
|
"sources" : [
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/platformer/in/jump"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/left/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/platformer/in/jump"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/right/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/platformer/in/move"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/left/input/joystick"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/platformer/in/move"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/right/input/joystick"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"controller_type" : "holographic_controller",
|
||
|
"description" : "",
|
||
|
"name" : "Default bindings for Windows Mixed Reality Controllers"
|
||
|
}
|