You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
470 lines
12 KiB
470 lines
12 KiB
{
|
|
"controller_type": "vive_controller",
|
|
"description": "",
|
|
"name": "vive_controller",
|
|
"bindings": {
|
|
"/actions/buggy": {
|
|
"chords": [],
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "trigger",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"pull": {
|
|
"output": "/actions/buggy/in/throttle"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "trigger",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"pull": {
|
|
"output": "/actions/buggy/in/throttle"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "trackpad",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/buggy/in/brake"
|
|
},
|
|
"position": {
|
|
"output": "/actions/buggy/in/steering"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "trackpad",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/buggy/in/brake"
|
|
},
|
|
"position": {
|
|
"output": "/actions/buggy/in/steering"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/application_menu",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/buggy/in/reset"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/application_menu",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/buggy/in/reset"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"poses": [],
|
|
"haptics": [],
|
|
"skeleton": []
|
|
},
|
|
"/actions/default": {
|
|
"chords": [],
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/default/in/interactui"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/grip",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"click_activate_threshold": "0.05",
|
|
"click_deactivate_threshold": "0",
|
|
"force_input": "force"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/default/in/grabgrip"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"click_activate_threshold": "0.75",
|
|
"click_deactivate_threshold": "0.7",
|
|
"force_input": "value"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/default/in/grabpinch"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/default/in/interactui"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"click_activate_threshold": "0.75",
|
|
"click_deactivate_threshold": "0.7"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/default/in/grabpinch"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "dpad",
|
|
"parameters": {
|
|
"deadzone_pct": "90",
|
|
"overlap_pct": "15",
|
|
"sub_mode": "click"
|
|
},
|
|
"inputs": {
|
|
"center": {
|
|
"output": "/actions/default/in/teleport"
|
|
},
|
|
"east": {
|
|
"output": "/actions/default/in/snapturnright"
|
|
},
|
|
"north": {
|
|
"output": "/actions/default/in/teleport"
|
|
},
|
|
"south": {
|
|
"output": "/actions/default/in/teleport"
|
|
},
|
|
"west": {
|
|
"output": "/actions/default/in/snapturnleft"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "dpad",
|
|
"parameters": {
|
|
"deadzone_pct": "90",
|
|
"overlap_pct": "15",
|
|
"sub_mode": "click"
|
|
},
|
|
"inputs": {
|
|
"center": {
|
|
"output": "/actions/default/in/teleport"
|
|
},
|
|
"east": {
|
|
"output": "/actions/default/in/snapturnright"
|
|
},
|
|
"north": {
|
|
"output": "/actions/default/in/teleport"
|
|
},
|
|
"south": {
|
|
"output": "/actions/default/in/teleport"
|
|
},
|
|
"west": {
|
|
"output": "/actions/default/in/snapturnleft"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/grip",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"click_activate_threshold": "0.05",
|
|
"click_deactivate_threshold": "0",
|
|
"force_input": "force"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/default/in/grabgrip"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "trigger",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"pull": {
|
|
"output": "/actions/default/in/squeeze"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "trigger",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"pull": {
|
|
"output": "/actions/default/in/squeeze"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"poses": [
|
|
{
|
|
"output": "/actions/default/in/pose",
|
|
"path": "/user/hand/left/pose/raw"
|
|
},
|
|
{
|
|
"output": "/actions/default/in/pose",
|
|
"path": "/user/hand/right/pose/raw"
|
|
}
|
|
],
|
|
"haptics": [
|
|
{
|
|
"output": "/actions/default/out/haptic",
|
|
"path": "/user/hand/left/output/haptic"
|
|
},
|
|
{
|
|
"output": "/actions/default/out/haptic",
|
|
"path": "/user/hand/right/output/haptic"
|
|
}
|
|
],
|
|
"skeleton": [
|
|
{
|
|
"output": "/actions/default/in/skeletonlefthand",
|
|
"path": "/user/hand/left/input/skeleton/left"
|
|
},
|
|
{
|
|
"output": "/actions/default/in/skeletonrighthand",
|
|
"path": "/user/hand/right/input/skeleton/right"
|
|
}
|
|
]
|
|
},
|
|
"/actions/platformer": {
|
|
"chords": [],
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/platformer/in/jump"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/platformer/in/jump"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "trackpad",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/platformer/in/move"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "trackpad",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"position": {
|
|
"output": "/actions/platformer/in/move"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"poses": [],
|
|
"haptics": [],
|
|
"skeleton": []
|
|
},
|
|
"/actions/htc_viu": {
|
|
"chords": [],
|
|
"sources": [
|
|
{
|
|
"path": "/user/hand/left/input/grip",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_02"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/grip",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_02"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/application_menu",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_01"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/application_menu",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_01"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "trigger",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"pull": {
|
|
"output": "/actions/htc_viu/in/viu_axis_1x"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "trigger",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"pull": {
|
|
"output": "/actions/htc_viu/in/viu_axis_1x"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trackpad",
|
|
"mode": "trackpad",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_32"
|
|
},
|
|
"position": {
|
|
"output": "/actions/htc_viu/in/viu_axis_0xy"
|
|
},
|
|
"touch": {
|
|
"output": "/actions/htc_viu/in/viu_touch_32"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trackpad",
|
|
"mode": "trackpad",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_32"
|
|
},
|
|
"position": {
|
|
"output": "/actions/htc_viu/in/viu_axis_0xy"
|
|
},
|
|
"touch": {
|
|
"output": "/actions/htc_viu/in/viu_touch_32"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"click_activate_threshold": "0.55",
|
|
"click_deactivate_threshold": "0.45",
|
|
"haptic_amplitude": "0.2"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_33"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"click_activate_threshold": "0.55",
|
|
"click_deactivate_threshold": "0.45",
|
|
"haptic_amplitude": "0.2"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_press_33"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/left/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {
|
|
"haptic_amplitude": "0"
|
|
},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_touch_33"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"path": "/user/hand/right/input/trigger",
|
|
"mode": "button",
|
|
"parameters": {},
|
|
"inputs": {
|
|
"click": {
|
|
"output": "/actions/htc_viu/in/viu_touch_33"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"poses": [],
|
|
"haptics": [
|
|
{
|
|
"output": "/actions/htc_viu/out/viu_vib_01",
|
|
"path": "/user/hand/left/output/haptic"
|
|
},
|
|
{
|
|
"output": "/actions/htc_viu/out/viu_vib_01",
|
|
"path": "/user/hand/right/output/haptic"
|
|
}
|
|
],
|
|
"skeleton": []
|
|
}
|
|
}
|
|
}
|