mirror of
https://github.com/Andalu30/frame-unboundedMouse-vibed.git
synced 2026-10-06 01:00:03 +02:00
Now a stylus device to not collide with left hand
This commit is contained in:
1 parent
12416e005d
commit
7c9029e4ca
9 files changed
+615
-17
No files matched your search
@@ -4,7 +4,7 @@
|
||||
"device_class" : "TrackedDeviceClass_Controller",
|
||||
"resource_root" : "mouselaser",
|
||||
"driver_name" : "mouselaser",
|
||||
"input_bindingui_mode" : "controller_handed",
|
||||
"input_bindingui_mode" : "single_device",
|
||||
"should_show_binding_errors" : true,
|
||||
"input_source" : {
|
||||
"/input/trigger" : { "type" : "trigger", "click" : true, "value" : true, "binding_image_point" : [ 50, 50 ], "order" : 1 },
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
{
|
||||
"output": "/actions/lasermouse/in/pointer",
|
||||
"path": "/user/hand/right/pose/raw"
|
||||
},
|
||||
{
|
||||
"output": "/actions/lasermouse/in/pointer",
|
||||
"path": "/user/stylus/pose/raw"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
@@ -39,6 +43,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/trigger",
|
||||
"mode": "button",
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/lasermouse/in/leftclick"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/left/input/a",
|
||||
"mode": "button",
|
||||
@@ -57,6 +70,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/a",
|
||||
"mode": "button",
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/lasermouse/in/rightclick"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/left/input/b",
|
||||
"mode": "button",
|
||||
@@ -75,6 +97,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/b",
|
||||
"mode": "button",
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/lasermouse/in/middleclick"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/hand/left/input/back",
|
||||
"mode": "button",
|
||||
@@ -92,6 +123,15 @@
|
||||
"output": "/actions/lasermouse/in/back"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/back",
|
||||
"mode": "button",
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/lasermouse/in/back"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -114,6 +154,15 @@
|
||||
"output": "/actions/lasermouse_secondary/in/switchlaserhand"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/trigger",
|
||||
"mode": "button",
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/lasermouse_secondary/in/switchlaserhand"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -136,6 +185,15 @@
|
||||
"output": "/actions/quickmouse/in/ActivateQuickMouse"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/grip",
|
||||
"mode": "button",
|
||||
"inputs": {
|
||||
"click": {
|
||||
"output": "/actions/quickmouse/in/ActivateQuickMouse"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -158,6 +216,15 @@
|
||||
"output": "/actions/scroll_discrete/in/scroll"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/user/stylus/input/thumbstick",
|
||||
"mode": "scroll",
|
||||
"inputs": {
|
||||
"scroll": {
|
||||
"output": "/actions/scroll_discrete/in/scroll"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -186,6 +253,18 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -214,6 +293,18 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"enable": true,
|
||||
"sensitivity": 0.05,
|
||||
"toggleButton": 276,
|
||||
"role": 1,
|
||||
"role": 5,
|
||||
"deviceNameFilter": "",
|
||||
"originOffsetY": -0.08,
|
||||
"invertY": false,
|
||||
|
||||
Reference in new issue
Block a user