327 lines
9.2 KiB
JSON
327 lines
9.2 KiB
JSON
|
{
|
||
|
"bindings" : {
|
||
|
"/actions/buggy" : {
|
||
|
"sources" : [
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/buggy/in/steering"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/left/input/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/buggy/in/steering"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/right/input/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"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" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/brake"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/left/input/a"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/brake"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/right/input/a"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/reset"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/left/input/b"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"click" : {
|
||
|
"output" : "/actions/buggy/in/reset"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "button",
|
||
|
"path" : "/user/hand/right/input/b"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"/actions/default" : {
|
||
|
"chords" : [],
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sources": [
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/interactui"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"force": {
|
||
|
"output": "/actions/default/in/squeeze"
|
||
|
}
|
||
|
},
|
||
|
"mode": "force_sensor",
|
||
|
"path": "/user/hand/left/input/grip"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"force": {
|
||
|
"output": "/actions/default/in/squeeze"
|
||
|
}
|
||
|
},
|
||
|
"mode": "force_sensor",
|
||
|
"path": "/user/hand/right/input/grip"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/teleport"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trackpad"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"click": {
|
||
|
"output": "/actions/default/in/interactui"
|
||
|
}
|
||
|
},
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trigger"
|
||
|
},
|
||
|
{
|
||
|
"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/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"north": {
|
||
|
"output": "/actions/default/in/teleport"
|
||
|
}
|
||
|
},
|
||
|
"mode": "dpad",
|
||
|
"parameters": {
|
||
|
"deadzone_pct": "25",
|
||
|
"overlap_pct": "30",
|
||
|
"sub_mode": "touch"
|
||
|
},
|
||
|
"path": "/user/hand/right/input/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"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/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"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/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"grab": {
|
||
|
"output": "/actions/default/in/grabgrip"
|
||
|
}
|
||
|
},
|
||
|
"mode": "grab",
|
||
|
"parameters": {
|
||
|
"force_hold_threshold": "0.02",
|
||
|
"force_release_threshold": "0.01"
|
||
|
},
|
||
|
"path": "/user/hand/left/input/grip"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"grab": {
|
||
|
"output": "/actions/default/in/grabgrip"
|
||
|
}
|
||
|
},
|
||
|
"mode": "grab",
|
||
|
"parameters": {
|
||
|
"force_hold_threshold": "0.02",
|
||
|
"force_release_threshold": "0.01"
|
||
|
},
|
||
|
"path": "/user/hand/right/input/grip"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"grab": {
|
||
|
"output": "/actions/default/in/grabpinch"
|
||
|
}
|
||
|
},
|
||
|
"mode": "grab",
|
||
|
"parameters": {
|
||
|
"force_hold_threshold": "0.02",
|
||
|
"force_release_threshold": "0.01"
|
||
|
},
|
||
|
"path": "/user/hand/left/input/pinch"
|
||
|
},
|
||
|
{
|
||
|
"inputs": {
|
||
|
"grab": {
|
||
|
"output": "/actions/default/in/grabpinch"
|
||
|
}
|
||
|
},
|
||
|
"mode": "grab",
|
||
|
"parameters": {
|
||
|
"force_hold_threshold": "0.02",
|
||
|
"force_release_threshold": "0.01"
|
||
|
},
|
||
|
"path": "/user/hand/right/input/pinch"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"/actions/platformer" : {
|
||
|
"sources" : [
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/platformer/in/move"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/left/input/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"inputs" : {
|
||
|
"position" : {
|
||
|
"output" : "/actions/platformer/in/move"
|
||
|
}
|
||
|
},
|
||
|
"mode" : "joystick",
|
||
|
"path" : "/user/hand/right/input/thumbstick"
|
||
|
},
|
||
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"controller_type" : "knuckles",
|
||
|
"description" : "",
|
||
|
"name" : "knuckles_default"
|
||
|
}
|