mirror of
https://github.com/SteamFramelyHomebrew/framely.git
synced 2026-10-18 20:01:33 +02:00
134 lines
3.3 KiB
JSON
134 lines
3.3 KiB
JSON
{
|
|
"controller_type": "frame_controller",
|
|
"name": "Framely entry controls",
|
|
"bindings": {
|
|
"/actions/entry": {
|
|
"poses": [
|
|
{
|
|
"path": "/user/hand/left/pose/tip",
|
|
"output": "/actions/entry/in/aim"
|
|
},
|
|
{
|
|
"path": "/user/hand/right/pose/tip",
|
|
"output": "/actions/entry/in/aim"
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/primary"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"haptic_amplitude": "0",
|
|
"click_activate_threshold": "0.5",
|
|
"click_deactivate_threshold": "0.45"
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/bumper",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/upper"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/primary"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"haptic_amplitude": "0",
|
|
"click_activate_threshold": "0.5",
|
|
"click_deactivate_threshold": "0.45"
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/bumper",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/upper"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/b",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/close"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/thumbstick",
|
|
"mode": "joystick",
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/entry/in/navigate"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/thumbstick",
|
|
"mode": "joystick",
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/entry/in/navigate"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/dpad_down",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/confirm"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/a",
|
|
"mode": "button",
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/entry/in/confirm"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
}
|
|
}
|
|
],
|
|
"haptics": [
|
|
{
|
|
"path": "/user/hand/left/output/haptic",
|
|
"output": "/actions/entry/out/gazeHaptic"
|
|
},
|
|
{
|
|
"path": "/user/hand/right/output/haptic",
|
|
"output": "/actions/entry/out/gazeHaptic"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|