improve vive controller bindings (#12)

This commit is contained in:
LeaPhant
2024-02-18 15:06:04 +01:00
committed by GitHub
parent 8e60bf68b9
commit 615470aa92

View File

@@ -3,14 +3,24 @@
"app_key" : "galister.wlxoverlay-s", "app_key" : "galister.wlxoverlay-s",
"bindings" : { "bindings" : {
"/actions/default": { "/actions/default": {
"haptics" : [ "poses": [
{ {
"output" : "/actions/default/out/hapticsleft", "path": "/user/hand/left/pose/tip",
"path" : "/user/hand/left/output/haptic" "output": "/actions/default/in/lefthand"
}, },
{ {
"output" : "/actions/default/out/hapticsright", "path": "/user/hand/right/pose/tip",
"path" : "/user/hand/right/output/haptic" "output": "/actions/default/in/righthand"
}
],
"haptics": [
{
"output": "/actions/default/out/hapticsleft",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/default/out/hapticsright",
"path": "/user/hand/right/output/haptic"
} }
], ],
"sources": [ "sources": [
@@ -54,7 +64,7 @@
"path": "/user/hand/right/input/trackpad", "path": "/user/hand/right/input/trackpad",
"mode": "scroll", "mode": "scroll",
"parameters": { "parameters": {
"scroll_mode": "smooth" "scroll_mode": "discrete"
}, },
"inputs": { "inputs": {
"scroll": { "scroll": {
@@ -65,6 +75,9 @@
{ {
"path": "/user/hand/left/input/trackpad", "path": "/user/hand/left/input/trackpad",
"mode": "scroll", "mode": "scroll",
"parameters": {
"scroll_mode": "discrete"
},
"inputs": { "inputs": {
"scroll": { "scroll": {
"output": "/actions/default/in/scroll" "output": "/actions/default/in/scroll"