holopy3/Assets/SteamVR/Input/ExampleJSON/bindings_logitech_stylus.json

270 lines
7.7 KiB
JSON
Raw Permalink Normal View History

2020-12-10 14:25:12 +00:00
{
"bindings" : {
"/actions/buggy" : {
"sources" : [
{
"inputs" : {
"pull" : {
"output" : "/actions/buggy/in/throttle"
}
},
"mode" : "trigger",
"path" : "/user/hand/left/input/primary"
},
{
"inputs" : {
"pull" : {
"output" : "/actions/buggy/in/throttle"
}
},
"mode" : "trigger",
"path" : "/user/hand/right/input/primary"
},
{
"inputs" : {
"click" : {
"output" : "/actions/buggy/in/brake"
},
"position" : {
"output" : "/actions/buggy/in/steering"
}
},
"mode" : "trackpad",
"path" : "/user/hand/left/input/touchstrip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/buggy/in/brake"
},
"position" : {
"output" : "/actions/buggy/in/steering"
}
},
"mode" : "trackpad",
"path" : "/user/hand/right/input/touchstrip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/buggy/in/reset"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/menu"
},
{
"inputs" : {
"click" : {
"output" : "/actions/buggy/in/reset"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/menu"
}
]
},
"/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"
}
],
"sources": [
{
"inputs": {
"click": {
"output": "/actions/default/in/interactui"
}
},
"mode": "button",
"path": "/user/hand/left/input/primary"
},
{
"inputs": {
"click": {
"output": "/actions/default/in/grabgrip"
}
},
"mode": "button",
"path": "/user/hand/left/input/grip"
},
{
"inputs": {
"click": {
"output": "/actions/default/in/grabpinch"
}
},
"mode": "button",
"parameters": {
"click_activate_threshold": "0.75",
"click_deactivate_threshold": "0.7",
"force_input": "value"
},
"path": "/user/hand/left/input/primary"
},
{
"inputs": {
"click": {
"output": "/actions/default/in/interactui"
}
},
"mode": "button",
"path": "/user/hand/right/input/primary"
},
{
"inputs": {
"click": {
"output": "/actions/default/in/grabpinch"
}
},
"mode": "button",
"parameters": {
"click_activate_threshold": "0.75",
"click_deactivate_threshold": "0.7"
},
"path": "/user/hand/right/input/primary"
},
{
"inputs": {
"center": {
"output": "/actions/default/in/teleport"
},
"east": {
"output": "/actions/default/in/snapturnright"
},
"north": {
"output": "/actions/default/in/teleport"
},
"south": {
"output": "/actions/default/in/teleport"
},
"west": {
"output": "/actions/default/in/snapturnleft"
}
},
"mode": "dpad",
"parameters": {
"deadzone_pct": "90",
"overlap_pct": "15",
"sub_mode": "click"
},
"path": "/user/hand/left/input/touchstrip"
},
{
"inputs": {
"center": {
"output": "/actions/default/in/teleport"
},
"east": {
"output": "/actions/default/in/snapturnright"
},
"north": {
"output": "/actions/default/in/teleport"
},
"south": {
"output": "/actions/default/in/teleport"
},
"west": {
"output": "/actions/default/in/snapturnleft"
}
},
"mode": "dpad",
"parameters": {
"deadzone_pct": "90",
"overlap_pct": "15",
"sub_mode": "click"
},
"path": "/user/hand/right/input/touchstrip"
},
{
"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/tip"
},
{
"inputs": {
"pull": {
"output": "/actions/default/in/squeeze"
}
},
"mode": "trigger",
"path": "/user/hand/right/input/tip"
}
]
},
"/actions/platformer" : {
"sources" : [
{
"inputs" : {
"click" : {
"output" : "/actions/platformer/in/jump"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/touchstrip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/platformer/in/jump"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/touchstrip"
},
{
"inputs" : {
"position" : {
"output" : "/actions/platformer/in/move"
}
},
"mode" : "trackpad",
"path" : "/user/hand/left/input/touchstrip"
},
{
"inputs" : {
"position" : {
"output" : "/actions/platformer/in/move"
}
},
"mode" : "trackpad",
"path" : "/user/hand/right/input/touchstrip"
}
]
}
},
"controller_type" : "vive_controller",
"description" : "",
"name" : "vive_controller"
}