diff --git a/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/actions.json b/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/actions.json index 9000d18..6b0c983 100644 --- a/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/actions.json +++ b/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/actions.json @@ -125,6 +125,10 @@ { "controller_type": "vive_controller", "binding_url": "bindings_vive_controller.json" + }, + { + "controller_type": "hpmotioncontroller", + "binding_url": "hpmotioncontroller.json" } ], "localization": [ diff --git a/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/bindings_hpmotioncontroller.json b/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/bindings_hpmotioncontroller.json new file mode 100644 index 0000000..afa82c0 --- /dev/null +++ b/Dependencies/Metal_Data/StreamingAssets/SteamVR_Standalone/bindings_hpmotioncontroller.json @@ -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" +} \ No newline at end of file