mirror of
https://github.com/Andalu30/frame-unboundedMouse-vibed.git
synced 2026-10-06 01:00:03 +02:00
204 lines
4.1 KiB
JSON
204 lines
4.1 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, 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"
|
|
}
|
|
],
|
|
"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/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/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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"/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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"/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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"/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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"/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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"/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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|