Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Added completely untested WMR bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
LivingFray committed Feb 5, 2023
1 parent be245c2 commit 29a13a5
Show file tree
Hide file tree
Showing 2 changed files with 247 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@
{
"controller_type": "vive_controller",
"binding_url": "bindings_vive_controller.json"
},
{
"controller_type": "hpmotioncontroller",
"binding_url": "hpmotioncontroller.json"
}
],
"localization": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@
{
"bindings": {
"/actions/game": {
"chords": [],
"poses": [
{
"output": "/actions/game/in/Pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/game/in/Pose",
"path": "/user/hand/right/pose/raw"
},
{
"output": "/actions/game/in/PoseTip",
"path": "/user/hand/left/pose/tip"
},
{
"output": "/actions/game/in/PoseTip",
"path": "/user/hand/right/pose/tip"
}
],
"haptics" : [
{
"output" : "/actions/game/out/Vibration",
"path" : "/user/hand/right/output/haptic"
},
{
"output" : "/actions/game/out/Vibration",
"path" : "/user/hand/left/output/haptic"
}
],
"sources": [
{
"inputs": {
"position": {
"output": "/actions/game/in/Movement"
},
"click": {
"output": "/actions/game/in/Dash"
}
},
"mode": "joystick",
"path": "/user/hand/left/input/joystick"
},
{
"inputs": {
"position": {
"output": "/actions/game/in/Look"
},
"click": {
"output": "/actions/game/in/Jump"
}
},
"mode": "joystick",
"path": "/user/hand/right/input/joystick"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/Shoot"
}
},
"mode": "button",
"path": "/user/hand/right/input/trigger"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/ShootAlt"
}
},
"mode": "button",
"path": "/user/hand/left/input/trigger"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/Slaughter"
}
},
"mode": "button",
"path": "/user/hand/right/input/b"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/Reload"
}
},
"mode": "button",
"path": "/user/hand/right/input/a"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/WeaponSwitchLeft"
}
},
"mode": "button",
"parameters": {
"click_activate_threshold": "0.8",
"click_deactivate_threshold": "0.7"
},
"path": "/user/hand/left/input/grip"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/WeaponSwitchRight"
}
},
"mode": "button",
"parameters": {
"click_activate_threshold": "0.8",
"click_deactivate_threshold": "0.7"
},
"path": "/user/hand/right/input/grip"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/WeaponSwitchPaz"
}
},
"mode": "button",
"path": "/user/hand/left/input/x"
},
{
"inputs": {
"click": {
"output": "/actions/game/in/OpenMenu"
}
},
"mode": "button",
"path": "/user/hand/left/input/y"
}
],
"skeleton": []
},
"/actions/menu": {
"chords": [],
"poses": [],
"haptics": [],
"sources": [
{
"inputs": {
"position": {
"output": "/actions/menu/in/Navigate"
}
},
"mode": "joystick",
"path": "/user/hand/left/input/joystick"
},
{
"inputs": {
"position": {
"output": "/actions/menu/in/Navigate"
}
},
"mode": "joystick",
"path": "/user/hand/right/input/joystick"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/Select"
}
},
"mode": "button",
"path": "/user/hand/left/input/trigger"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/Select"
}
},
"mode": "button",
"path": "/user/hand/right/input/trigger"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/PrevTab"
}
},
"mode": "button",
"parameters": {
"click_activate_threshold": "0.8",
"click_deactivate_threshold": "0.7"
},
"path": "/user/hand/left/input/grip"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/NextTab"
}
},
"mode": "button",
"parameters": {
"click_activate_threshold": "0.8",
"click_deactivate_threshold": "0.7"
},
"path": "/user/hand/right/input/grip"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/Back"
}
},
"mode": "button",
"path": "/user/hand/right/input/a"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/Back"
}
},
"mode": "button",
"path": "/user/hand/left/input/x"
},
{
"inputs": {
"click": {
"output": "/actions/menu/in/CloseMenu"
}
},
"mode": "button",
"path": "/user/hand/left/input/y"
}
],
"skeleton": []
}
},
"controller_type": "hpmotioncontroller",
"description": "",
"app_key": "application.generated.unity.metal.exe",
"name": "hpmotioncontroller"
}

0 comments on commit 29a13a5

Please sign in to comment.