396 lines
7.2 KiB
JSON
396 lines
7.2 KiB
JSON
|
{
|
||
|
"name": "Default bindings for ValveIndex",
|
||
|
"controller_type": "knuckles",
|
||
|
"last_edited_by": "UnrealEngine",
|
||
|
"bindings":
|
||
|
{
|
||
|
"/actions/main":
|
||
|
{
|
||
|
"sources": [
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/a",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Index_A"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/b",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Index_B"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "grab",
|
||
|
"path": "/user/hand/left/input/grip",
|
||
|
"inputs":
|
||
|
{
|
||
|
"grab":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Grip"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trigger",
|
||
|
"path": "/user/hand/left/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trigger"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"touch":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad_Touch"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"north":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad_Up"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"south":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad_Down"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/left/input/thumbstick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Thumbstick"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/a",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Index_A"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/b",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Index_B"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "grab",
|
||
|
"path": "/user/hand/right/input/grip",
|
||
|
"inputs":
|
||
|
{
|
||
|
"grab":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Grip"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trigger",
|
||
|
"path": "/user/hand/right/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trigger"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"touch":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trackpad_Touch"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"north":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trackpad_Up"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"south":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trackpad_Down"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/right/input/thumbstick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Thumbstick"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trackpad_Force"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "button",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"click":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad_Force"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"north":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trackpad_Touch_Up"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"south":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_Trackpad_Touch_Down"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"north":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad_Touch_Up"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "dpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"parameters":
|
||
|
{
|
||
|
"sub_mode": "click"
|
||
|
},
|
||
|
"inputs":
|
||
|
{
|
||
|
"south":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_Trackpad_Touch_Down"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/left/input/thumbstick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_Thumbstick_L_X,Index_Thumbstick_L_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/left/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_Trackpad_L_X,Index_Trackpad_L_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trigger",
|
||
|
"path": "/user/hand/left/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"pull":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_L_TriggerAxis axis"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "joystick",
|
||
|
"path": "/user/hand/right/input/thumbstick",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_Thumbstick_R_X,Index_Thumbstick_R_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trackpad",
|
||
|
"path": "/user/hand/right/input/trackpad",
|
||
|
"inputs":
|
||
|
{
|
||
|
"position":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_Trackpad_R_X,Index_Trackpad_R_Y X Y_axis2d"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"mode": "trigger",
|
||
|
"path": "/user/hand/right/input/trigger",
|
||
|
"inputs":
|
||
|
{
|
||
|
"pull":
|
||
|
{
|
||
|
"output": "/actions/main/in/Index_R_TriggerAxis axis"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"poses": [
|
||
|
{
|
||
|
"output": "/actions/main/in/controllerleft",
|
||
|
"path": "/user/hand/left/pose/raw",
|
||
|
"requirement": "optional"
|
||
|
},
|
||
|
{
|
||
|
"output": "/actions/main/in/controllerright",
|
||
|
"path": "/user/hand/right/pose/raw"
|
||
|
}
|
||
|
],
|
||
|
"skeleton": [
|
||
|
{
|
||
|
"output": "/actions/main/in/skeletonleft",
|
||
|
"path": "/user/hand/left/input/skeleton/left"
|
||
|
},
|
||
|
{
|
||
|
"output": "/actions/main/in/skeletonright",
|
||
|
"path": "/user/hand/right/input/skeleton/right"
|
||
|
}
|
||
|
],
|
||
|
"haptics": [
|
||
|
{
|
||
|
"output": "/actions/main/out/vibrateleft",
|
||
|
"path": "/user/hand/left/output/haptic"
|
||
|
},
|
||
|
{
|
||
|
"output": "/actions/main/out/vibrateright",
|
||
|
"path": "/user/hand/right/output/haptic"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"description": "AnKangCAVE51-23901901"
|
||
|
}
|