mirror of
https://github.com/simplysanatori/LegendFrame.git
synced 2026-10-28 23:03:07 +01:00
103 lines
3.6 KiB
JSON
103 lines
3.6 KiB
JSON
{
|
|
"controller_type": "hpmotioncontroller",
|
|
"description": "Tomb Raider: Legend VR -- HP Reverb G2 controllers",
|
|
"name": "Tomb Raider: Legend VR",
|
|
"bindings": {
|
|
"/actions/gameplay": {
|
|
"poses": [
|
|
{ "output": "/actions/gameplay/in/hand_left", "path": "/user/hand/left/pose/grip" },
|
|
{ "output": "/actions/gameplay/in/hand_right", "path": "/user/hand/right/pose/grip" }
|
|
],
|
|
"haptics": [
|
|
{ "output": "/actions/gameplay/out/haptic_left", "path": "/user/hand/left/output/haptic" },
|
|
{ "output": "/actions/gameplay/out/haptic_right", "path": "/user/hand/right/output/haptic" }
|
|
],
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/joystick",
|
|
"mode": "joystick",
|
|
"inputs": {
|
|
"position": { "output": "/actions/gameplay/in/move" }
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/joystick",
|
|
"mode": "complex_button",
|
|
"parameters": { "long_press_delay": "0.65", "long_press_expiry": "3.0" },
|
|
"inputs": {
|
|
"single": { "output": "/actions/gameplay/in/pause" },
|
|
"double": { "output": "/actions/gameplay/in/recentre" },
|
|
"long": { "output": "/actions/gameplay/in/medkit" }
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/joystick",
|
|
"mode": "joystick",
|
|
"inputs": {
|
|
"position": { "output": "/actions/gameplay/in/look" }
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/joystick",
|
|
"mode": "complex_button",
|
|
"parameters": { "long_press_delay": "0.65", "long_press_expiry": "3.0" },
|
|
"inputs": {
|
|
"single": { "output": "/actions/gameplay/in/weapon" },
|
|
"double": { "output": "/actions/gameplay/in/gear_tuning" },
|
|
"long": { "output": "/actions/gameplay/in/binoculars" }
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "trigger",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/interact" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "trigger",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/fire" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/grip",
|
|
"mode": "button",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/grapple" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/grip",
|
|
"mode": "button",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/lockon" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/a",
|
|
"mode": "button",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/jump" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/b",
|
|
"mode": "button",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/dive" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/x",
|
|
"mode": "button",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/aim" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/y",
|
|
"mode": "button",
|
|
"inputs": { "click": { "output": "/actions/gameplay/in/flick" } }
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/y",
|
|
"mode": "complex_button",
|
|
"parameters": { "long_press_delay": "0.65", "long_press_expiry": "3.0" },
|
|
"inputs": {
|
|
"single": { "output": "/actions/gameplay/in/grenade" },
|
|
"long": { "output": "/actions/gameplay/in/light" }
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|