Files
Andalu30--frame-unboundedMo…/driver/mouselaser/resources/input/vrcompositor_bindings_mouselaser.json
T

313 lines
6.3 KiB
JSON

{
"action_manifest_version": 0,
"alias_info": {},
"app_key": "openvr.component.vrcompositor",
"category": "steamvr_input",
"controller_type": "mouselaser",
"description": "Mouse aims the SteamVR laser. Buttons click, the back side button goes back, and the wheel acts as the thumbstick (lists and scrolling).",
"name": "Mouse Laser: dashboard and overlays",
"options": {},
"simulated_actions": [],
"bindings": {
"/actions/lasermouse": {
"poses": [
{
"output": "/actions/lasermouse/in/pointer",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/lasermouse/in/pointer",
"path": "/user/hand/right/pose/raw"
},
{
"output": "/actions/lasermouse/in/pointer",
"path": "/user/stylus/pose/raw"
}
],
"sources": [
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/leftclick"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/leftclick"
}
}
},
{
"path": "/user/stylus/input/trigger",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/leftclick"
}
}
},
{
"path": "/user/hand/left/input/a",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/rightclick"
}
}
},
{
"path": "/user/hand/right/input/a",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/rightclick"
}
}
},
{
"path": "/user/stylus/input/a",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/rightclick"
}
}
},
{
"path": "/user/hand/left/input/b",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/middleclick"
}
}
},
{
"path": "/user/hand/right/input/b",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/middleclick"
}
}
},
{
"path": "/user/stylus/input/b",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/middleclick"
}
}
},
{
"path": "/user/hand/left/input/back",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/back"
}
}
},
{
"path": "/user/hand/right/input/back",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/back"
}
}
},
{
"path": "/user/stylus/input/back",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse/in/back"
}
}
}
]
},
"/actions/lasermouse_secondary": {
"sources": [
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse_secondary/in/switchlaserhand"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse_secondary/in/switchlaserhand"
}
}
},
{
"path": "/user/stylus/input/trigger",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/lasermouse_secondary/in/switchlaserhand"
}
}
}
]
},
"/actions/quickmouse": {
"sources": [
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/quickmouse/in/ActivateQuickMouse"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/quickmouse/in/ActivateQuickMouse"
}
}
},
{
"path": "/user/stylus/input/grip",
"mode": "button",
"inputs": {
"click": {
"output": "/actions/quickmouse/in/ActivateQuickMouse"
}
}
}
]
},
"/actions/scroll_discrete": {
"sources": [
{
"path": "/user/hand/left/input/thumbstick",
"mode": "scroll",
"inputs": {
"scroll": {
"output": "/actions/scroll_discrete/in/scroll"
}
}
},
{
"path": "/user/hand/right/input/thumbstick",
"mode": "scroll",
"inputs": {
"scroll": {
"output": "/actions/scroll_discrete/in/scroll"
}
}
},
{
"path": "/user/stylus/input/thumbstick",
"mode": "scroll",
"inputs": {
"scroll": {
"output": "/actions/scroll_discrete/in/scroll"
}
}
}
]
},
"/actions/dualanalog": {
"sources": [
{
"path": "/user/hand/left/input/thumbstick",
"mode": "joystick",
"inputs": {
"position": {
"output": "/actions/dualanalog/in/leftvalue"
},
"touch": {
"output": "/actions/dualanalog/in/lefttouch"
}
}
},
{
"path": "/user/hand/right/input/thumbstick",
"mode": "joystick",
"inputs": {
"position": {
"output": "/actions/dualanalog/in/rightvalue"
},
"touch": {
"output": "/actions/dualanalog/in/righttouch"
}
}
},
{
"path": "/user/stylus/input/thumbstick",
"mode": "joystick",
"inputs": {
"position": {
"output": "/actions/dualanalog/in/rightvalue"
},
"touch": {
"output": "/actions/dualanalog/in/righttouch"
}
}
}
]
},
"/actions/scroll_smooth": {
"sources": [
{
"path": "/user/hand/left/input/thumbstick",
"mode": "scroll",
"parameters": {
"scroll_mode": "smooth"
},
"inputs": {
"scroll": {
"output": "/actions/scroll_smooth/in/scroll"
}
}
},
{
"path": "/user/hand/right/input/thumbstick",
"mode": "scroll",
"parameters": {
"scroll_mode": "smooth"
},
"inputs": {
"scroll": {
"output": "/actions/scroll_smooth/in/scroll"
}
}
},
{
"path": "/user/stylus/input/thumbstick",
"mode": "scroll",
"parameters": {
"scroll_mode": "smooth"
},
"inputs": {
"scroll": {
"output": "/actions/scroll_smooth/in/scroll"
}
}
}
]
}
}
}