Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sd805 committed Apr 24, 2022
0 parents commit 39b5c81
Show file tree
Hide file tree
Showing 39 changed files with 33,911 additions and 0 deletions.
399 changes: 399 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions L4D2VR/SteamVRActionManifest/action_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"default_bindings": [
{
"controller_type": "oculus_touch",
"binding_url": "bindings_oculus_touch.json"
},
{
"controller_type": "knuckles",
"binding_url": "bindings_knuckles.json"
},
{
"controller_type": "vive_cosmos_controller",
"binding_url": "bindings_vive_cosmos_controller.json"
}
],

"actions": [

{
"name": "/actions/base/in/pose_lefthand",
"type": "pose"
},
{
"name": "/actions/base/in/pose_righthand",
"type": "pose"
},
{
"name": "/actions/base/out/vibration_left",
"type": "vibration"
},
{
"name": "/actions/base/out/vibration_right",
"type": "vibration"
},
{
"name": "/actions/main/in/PrimaryAttack",
"type": "boolean"
},
{
"name": "/actions/main/in/SecondaryAttack",
"type": "boolean"
},
{
"name": "/actions/main/in/Jump",
"type": "boolean"
},
{
"name": "/actions/main/in/Walk",
"type": "vector2"
},
{
"name": "/actions/main/in/Reload",
"type": "boolean"
},
{
"name": "/actions/main/in/Use",
"type": "boolean"
},
{
"name": "/actions/main/in/NextItem",
"type": "boolean"
},
{
"name": "/actions/main/in/PrevItem",
"type": "boolean"
},
{
"name": "/actions/main/in/ResetPosition",
"type": "boolean"
},
{
"name": "/actions/main/in/Crouch",
"type": "boolean"
},
{
"name": "/actions/main/in/Flashlight",
"type": "boolean"
},
{
"name": "/actions/main/in/ActivateVR",
"type": "boolean"
}
],

"action_sets": [
{
"name": "/actions/main",
"usage": "leftright"
}
],

"localization" : [
{
"language_tag": "en_us",
"/actions/main" : "Main"
}
]
}
171 changes: 171 additions & 0 deletions L4D2VR/SteamVRActionManifest/bindings_knuckles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"action_manifest_version" : 0,
"alias_info" : {},
"bindings" : {
"/actions/base" : {
"chords" : [],
"haptics" : [
{
"output" : "/actions/base/out/vibration_left",
"path" : "/user/hand/left/output/haptic"
},
{
"output" : "/actions/base/out/vibration_right",
"path" : "/user/hand/right/output/haptic"
}
],
"poses" : [
{
"output" : "/actions/base/in/pose_lefthand",
"path" : "/user/hand/left/pose/raw"
},
{
"output" : "/actions/base/in/pose_righthand",
"path" : "/user/hand/right/pose/raw"
}
],
"skeleton" : [
{
"output" : "/actions/base/in/skeleton_lefthand",
"path" : "/user/hand/left/input/skeleton/left"
},
{
"output" : "/actions/base/in/skeleton_righthand",
"path" : "/user/hand/right/input/skeleton/right"
}
],
"sources" : []
},
"/actions/main" : {
"sources" : [
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/ResetPosition"
},
"position" : {
"output" : "/actions/main/in/Walk"
}
},
"mode" : "joystick",
"parameters" : {
"deadzone_pct" : "10"
},
"path" : "/user/hand/left/input/thumbstick"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/Flashlight"
}
},
"mode" : "joystick",
"path" : "/user/hand/right/input/thumbstick"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/Reload"
}
},
"mode" : "button",
"parameters" : {
"force_input" : "force",
"click_activate_threshold": "0.45",
"click_deactivate_threshold": "0.4"
},
"path" : "/user/hand/left/input/grip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/PrimaryAttack"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/trigger"
},
{
"inputs" : {
"east" : {
"output" : "/actions/main/in/boolean_turnright"
},
"north" : {
"output" : "/actions/main/in/PrevItem"
},
"south" : {
"output" : "/actions/main/in/NextItem"
},
"west" : {
"output" : "/actions/main/in/boolean_turnleft"
}
},
"mode" : "dpad",
"parameters" : {
"deadzone_pct" : "30",
"overlap_pct" : "0",
"sub_mode" : "touch"
},
"path" : "/user/hand/right/input/thumbstick"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/Use"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/b"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/ActivateVR"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/a"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/Jump"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/a"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/Crouch"
}
},
"mode" : "button",
"parameters" : {
"force_input" : "force",
"click_activate_threshold": "0.45",
"click_deactivate_threshold": "0.4"
},
"path" : "/user/hand/right/input/grip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/SecondaryAttack"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/trigger"
}
]
}
},
"category" : "steamvr_input",
"controller_type" : "knuckles",
"description" : "default l4d2vr bindings",
"name" : "default l4d2vr bindings",
"options" : {},
"simulated_actions" : []
}

Loading

0 comments on commit 39b5c81

Please sign in to comment.