Add default bindings for knuckles and vive wands (#128)
Knuckles bindings: **B button** single click: space turn single click: swap space drag double click: space drag **left trigger:** click: PTT (haptics bound) Vive wand bindings: **Menu Button** single click: space turn single click: swap space drag double click: space drag **right track pad** south click: PTT (haptics bound)
This commit is contained in:
@@ -2,7 +2,11 @@
|
|||||||
"default_bindings": [
|
"default_bindings": [
|
||||||
{
|
{
|
||||||
"controller_type": "vive_controller",
|
"controller_type": "vive_controller",
|
||||||
"binding_url": "default_action_manifests/vive_defaults.json"
|
"binding_url": "default_action_manifests/ovras-team.advancedsettings_default_vive_controller.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"controller_type": "knuckles",
|
||||||
|
"binding_url": "default_action_manifests/ovras-team.advancedsettings_default_knuckles.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"actions": [
|
"actions": [
|
||||||
|
|||||||
+109
@@ -0,0 +1,109 @@
|
|||||||
|
{
|
||||||
|
"alias_info" : {},
|
||||||
|
"app_key" : "ovras-team.advancedsettings",
|
||||||
|
"bindings" : {
|
||||||
|
"/actions/haptic" : {
|
||||||
|
"haptics" : [
|
||||||
|
{
|
||||||
|
"output" : "/actions/haptic/out/hapticsleft",
|
||||||
|
"path" : "/user/hand/left/output/haptic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"output" : "/actions/haptic/out/hapticsright",
|
||||||
|
"path" : "/user/hand/right/output/haptic"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"inputs" : {},
|
||||||
|
"mode" : "none",
|
||||||
|
"path" : "/user/hand/left/input/b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {},
|
||||||
|
"mode" : "none",
|
||||||
|
"path" : "/user/hand/right/input/b"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"/actions/main" : {
|
||||||
|
"sources" : []
|
||||||
|
},
|
||||||
|
"/actions/misc" : {
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/misc/in/pushtotalk"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/trigger"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"/actions/motion" : {
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/lefthandspaceturn"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"double" : {
|
||||||
|
"output" : "/actions/motion/in/optionaloverridelefthandspacedrag"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/swapspacedragtolefthandoverride"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/righthandspaceturn"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/right/input/b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"double" : {
|
||||||
|
"output" : "/actions/motion/in/optionaloverriderighthandspacedrag"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/right/input/b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/swapspacedragtorighthandoverride"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/right/input/b"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"controller_type" : "knuckles",
|
||||||
|
"description" : "",
|
||||||
|
"name" : "OVRAS Knuckles Default",
|
||||||
|
"options" : {},
|
||||||
|
"simulated_actions" : []
|
||||||
|
}
|
||||||
+112
@@ -0,0 +1,112 @@
|
|||||||
|
{
|
||||||
|
"alias_info" : {},
|
||||||
|
"app_key" : "ovras-team.advancedsettings",
|
||||||
|
"bindings" : {
|
||||||
|
"/actions/haptic" : {
|
||||||
|
"haptics" : [
|
||||||
|
{
|
||||||
|
"output" : "/actions/haptic/out/hapticsleft",
|
||||||
|
"path" : "/user/hand/left/output/haptic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"output" : "/actions/haptic/out/hapticsright",
|
||||||
|
"path" : "/user/hand/right/output/haptic"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"inputs" : {},
|
||||||
|
"mode" : "none",
|
||||||
|
"path" : "/user/hand/left/input/application_menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {},
|
||||||
|
"mode" : "none",
|
||||||
|
"path" : "/user/hand/right/input/application_menu"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"/actions/main" : {
|
||||||
|
"sources" : []
|
||||||
|
},
|
||||||
|
"/actions/misc" : {
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"south" : {
|
||||||
|
"output" : "/actions/misc/in/pushtotalk"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "dpad",
|
||||||
|
"parameters" : {
|
||||||
|
"sub_mode" : "click"
|
||||||
|
},
|
||||||
|
"path" : "/user/hand/right/input/trackpad"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"/actions/motion" : {
|
||||||
|
"sources" : [
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/lefthandspaceturn"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/application_menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"double" : {
|
||||||
|
"output" : "/actions/motion/in/optionaloverridelefthandspacedrag"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/application_menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/righthandspaceturn"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/right/input/application_menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"double" : {
|
||||||
|
"output" : "/actions/motion/in/optionaloverriderighthandspacedrag"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/right/input/application_menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/swapspacedragtorighthandoverride"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/right/input/application_menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"inputs" : {
|
||||||
|
"click" : {
|
||||||
|
"output" : "/actions/motion/in/swapspacedragtolefthandoverride"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode" : "button",
|
||||||
|
"path" : "/user/hand/left/input/application_menu"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"controller_type" : "vive_controller",
|
||||||
|
"description" : "",
|
||||||
|
"name" : "OVRAS Vive Wand Default",
|
||||||
|
"options" : {},
|
||||||
|
"simulated_actions" : []
|
||||||
|
}
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"alias_info" : {},
|
|
||||||
"app_key" : "OVRAS-Team.advancedsettings",
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/main" : {
|
|
||||||
"sources" : []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "vive_controller",
|
|
||||||
"description" : "Nothing has been bound by default.",
|
|
||||||
"name" : "Empty Bindings (default)",
|
|
||||||
"options" : {},
|
|
||||||
"simulated_actions" : []
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user