Skip to content

Commit

Permalink
feat(input): add variant button (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenira committed Mar 10, 2024
1 parent f028a00 commit 130b7e4
Show file tree
Hide file tree
Showing 11 changed files with 917 additions and 893 deletions.
Binary file modified libs/Managed/SteamVR_Actions.dll
Binary file not shown.
8 changes: 7 additions & 1 deletion libs/StreamingAssets/SteamVR/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@
"name": "/actions/default/in/SonarZoomOut",
"type": "boolean"
},
{
"name": "/actions/default/in/Variant",
"type": "boolean"
},
{
"name": "/actions/default/out/Haptic",
"type": "vibration"
Expand Down Expand Up @@ -338,7 +342,9 @@
"/actions/default/in/Teleport": "Teleport",
"/actions/default/in/SonarZoomIn": "Map Zoom In",
"/actions/default/in/SonarZoomOut": "Map Zoom Out",
"/actions/UI/in/Click": "Click"
"/actions/UI/in/Click": "Click",
"/actions/default/in/variant": "Variant",
"/actions/default/in/Variant": "Variant"
}
]
}
9 changes: 9 additions & 0 deletions libs/StreamingAssets/SteamVR/bindings_knuckles.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@
},
"mode" : "grab",
"path" : "/user/hand/right/input/grip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/default/in/variant"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/trigger"
}
]
},
Expand Down
Loading

0 comments on commit 130b7e4

Please sign in to comment.