275 lines
6.0 KiB
JSON
275 lines
6.0 KiB
JSON
{
|
|
"controller_type" : "knuckles",
|
|
"description" : "Default Index Knuckles bindings",
|
|
"name" : "Knuckles Bindings",
|
|
"bindings": {
|
|
"/actions/global": {
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/a",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/a.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/a",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/a.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/b",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/b.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/b",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/b.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "trackpad",
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/global/in/trackpad.left"
|
|
},
|
|
"touch": {
|
|
"output": "/actions/global/in/touchpad.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "trackpad",
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/global/in/trackpad.right"
|
|
},
|
|
"touch": {
|
|
"output": "/actions/global/in/touchpad.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/clickpad.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/clickpad.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/grip",
|
|
"mode": "force_sensor",
|
|
"inputs": {
|
|
"force": {
|
|
"output": "/actions/global/in/grip.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/grip",
|
|
"mode": "force_sensor",
|
|
"inputs": {
|
|
"force": {
|
|
"output": "/actions/global/in/grip.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/grip",
|
|
"mode": "grab",
|
|
"inputs": {
|
|
"grab": {
|
|
"output": "/actions/global/in/grab.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/grip",
|
|
"mode": "grab",
|
|
"inputs": {
|
|
"grab": {
|
|
"output": "/actions/global/in/grab.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/click.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/click.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "trigger",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/trigger.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "trigger",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/global/in/trigger.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/thumbstick",
|
|
"mode": "dpad_touch",
|
|
"parameters": {
|
|
"deadzone_pct": "85",
|
|
"overlap_pct": "0",
|
|
"sticky": "true"
|
|
},
|
|
"inputs": {
|
|
"north": {
|
|
"output": "/actions/global/in/dpadUp.left"
|
|
},
|
|
"south": {
|
|
"output": "/actions/global/in/dpadDown.left"
|
|
},
|
|
"east": {
|
|
"output": "/actions/global/in/dpadRight.left"
|
|
},
|
|
"west": {
|
|
"output": "/actions/global/in/dpadLeft.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/thumbstick",
|
|
"mode": "dpad_touch",
|
|
"parameters": {
|
|
"deadzone_pct": "85",
|
|
"overlap_pct": "0",
|
|
"sticky": "true"
|
|
},
|
|
"inputs": {
|
|
"north": {
|
|
"output": "/actions/global/in/dpadUp.right"
|
|
},
|
|
"south": {
|
|
"output": "/actions/global/in/dpadDown.right"
|
|
},
|
|
"east": {
|
|
"output": "/actions/global/in/dpadRight.right"
|
|
},
|
|
"west": {
|
|
"output": "/actions/global/in/dpadLeft.right"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/thumbstick",
|
|
"mode": "joystick",
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/global/in/thumbstick.left"
|
|
},
|
|
"click": {
|
|
"output": "/actions/global/in/thumbclick.left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/thumbstick",
|
|
"mode": "joystick",
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/global/in/thumbstick.right"
|
|
},
|
|
"click": {
|
|
"output": "/actions/global/in/thumbclick.right"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"poses": [
|
|
{
|
|
"output": "/actions/global/in/handPose.left",
|
|
"path": "/user/hand/left/pose/raw"
|
|
},
|
|
{
|
|
"output": "/actions/global/in/handPose.right",
|
|
"path": "/user/hand/right/pose/raw"
|
|
},
|
|
{
|
|
"output": "/actions/global/in/handTip.left",
|
|
"path": "/user/hand/left/pose/tip"
|
|
},
|
|
{
|
|
"output": "/actions/global/in/handTip.right",
|
|
"path": "/user/hand/right/pose/tip"
|
|
}
|
|
],
|
|
"haptics": [
|
|
{
|
|
"output": "/actions/global/out/hapticVibration.left",
|
|
"path": "/user/hand/left/output/haptic"
|
|
},
|
|
{
|
|
"output": "/actions/global/out/hapticVibration.right",
|
|
"path": "/user/hand/right/output/haptic"
|
|
}
|
|
],
|
|
"skeleton": [
|
|
{
|
|
"output": "/actions/global/in/handSkeleton.left",
|
|
"path": "/user/hand/left/input/skeleton/left"
|
|
},
|
|
{
|
|
"output": "/actions/global/in/handSkeleton.right",
|
|
"path": "/user/hand/right/input/skeleton/right"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |