212 lines
6.9 KiB
JSON
212 lines
6.9 KiB
JSON
{
|
|
"bindings" : {
|
|
"/actions/legacy" : {
|
|
"haptics" : [
|
|
{
|
|
"output" : "/actions/legacy/out/left_haptic",
|
|
"path" : "/user/hand/left/output/haptic"
|
|
},
|
|
{
|
|
"output" : "/actions/legacy/out/right_haptic",
|
|
"path" : "/user/hand/right/output/haptic"
|
|
}
|
|
],
|
|
"poses" : [
|
|
{
|
|
"output" : "/actions/legacy/in/Left_Pose",
|
|
"path" : "/user/hand/left/pose/raw"
|
|
},
|
|
{
|
|
"output" : "/actions/legacy/in/Right_Pose",
|
|
"path" : "/user/hand/right/pose/raw"
|
|
}
|
|
],
|
|
"sources" : [
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/left_axis1_press"
|
|
},
|
|
"pull" : {
|
|
"output" : "/actions/legacy/in/left_axis1_value"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/left_axis1_touch"
|
|
}
|
|
},
|
|
"parameters" : {
|
|
"haptic_amplitude" : "0"
|
|
},
|
|
"mode" : "trigger",
|
|
"path" : "/user/hand/left/input/trigger"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/left_axis0_press"
|
|
},
|
|
"position" : {
|
|
"output" : "/actions/legacy/in/left_axis0_value"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/left_axis0_touch"
|
|
}
|
|
},
|
|
"mode" : "joystick",
|
|
"path" : "/user/hand/left/input/joystick"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/left_axis2_press"
|
|
},
|
|
"pull" : {
|
|
"output" : "/actions/legacy/in/left_axis2_value1"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/left_axis2_touch"
|
|
}
|
|
},
|
|
"parameters" : {
|
|
"haptic_amplitude" : "0"
|
|
},
|
|
"mode" : "trigger",
|
|
"path" : "/user/hand/left/input/grip"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/left_a_press"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/left_a_touch"
|
|
}
|
|
},
|
|
"mode" : "button",
|
|
"path" : "/user/hand/left/input/x"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/left_applicationmenu_press"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/left_applicationmenu_touch"
|
|
}
|
|
},
|
|
"mode" : "button",
|
|
"path" : "/user/hand/left/input/y"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/right_axis1_press"
|
|
},
|
|
"pull" : {
|
|
"output" : "/actions/legacy/in/right_axis1_value"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/right_axis1_touch"
|
|
}
|
|
},
|
|
"parameters" : {
|
|
"haptic_amplitude" : "0"
|
|
},
|
|
"mode" : "trigger",
|
|
"path" : "/user/hand/right/input/trigger"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/right_axis0_press"
|
|
},
|
|
"position" : {
|
|
"output" : "/actions/legacy/in/right_axis0_value"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/right_axis0_touch"
|
|
}
|
|
},
|
|
"mode" : "joystick",
|
|
"path" : "/user/hand/right/input/joystick"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/right_axis2_press"
|
|
},
|
|
"pull" : {
|
|
"output" : "/actions/legacy/in/right_axis2_value1"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/right_axis2_touch"
|
|
}
|
|
},
|
|
"parameters" : {
|
|
"haptic_amplitude" : "0"
|
|
},
|
|
"mode" : "trigger",
|
|
"path" : "/user/hand/right/input/grip"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/left_grip_press"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/left_grip_touch"
|
|
}
|
|
},
|
|
"parameters" : {
|
|
"haptic_amplitude" : "0"
|
|
},
|
|
"mode" : "button",
|
|
"path" : "/user/hand/left/input/grip"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/right_a_press"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/right_a_touch"
|
|
}
|
|
},
|
|
"mode" : "button",
|
|
"path" : "/user/hand/right/input/a"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/right_grip_press"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/right_grip_touch"
|
|
}
|
|
},
|
|
"parameters" : {
|
|
"haptic_amplitude" : "0"
|
|
},
|
|
"mode" : "button",
|
|
"path" : "/user/hand/right/input/grip"
|
|
},
|
|
{
|
|
"inputs" : {
|
|
"click" : {
|
|
"output" : "/actions/legacy/in/right_applicationmenu_press"
|
|
},
|
|
"touch" : {
|
|
"output" : "/actions/legacy/in/right_applicationmenu_touch"
|
|
}
|
|
},
|
|
"mode" : "button",
|
|
"path" : "/user/hand/right/input/b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"controller_type" : "oculus_touch",
|
|
"description" : "Default mapping for Oculus Touch controllers into the legacy interface.",
|
|
"name" : "Oculus Touch Legacy Bindings"
|
|
}
|