From d409da1cb183caa6fa015720b43c0f042ed519d9 Mon Sep 17 00:00:00 2001 From: gpsnmeajp <33391403+gpsnmeajp@users.noreply.github.com> Date: Mon, 9 Jan 2023 01:00:44 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=B0=E3=82=82=E3=81=8D=E3=82=83=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../virtualmotioncapture_binding_vmt.json | 217 ++++++++++++++++++ build/vmt/resources/input/vmt_profile.json | 4 + 2 files changed, 221 insertions(+) create mode 100644 build/vmt/resources/input/virtualmotioncapture_binding_vmt.json diff --git a/build/vmt/resources/input/virtualmotioncapture_binding_vmt.json b/build/vmt/resources/input/virtualmotioncapture_binding_vmt.json new file mode 100644 index 0000000..f9ad942 --- /dev/null +++ b/build/vmt/resources/input/virtualmotioncapture_binding_vmt.json @@ -0,0 +1,217 @@ +{ + "app_key": "system.generated.virtualmotioncapture.exe", + "bindings": { + "/actions/buggy": { + "chords": [], + "haptics": [], + "poses": [], + "skeleton": [], + "sources": [] + }, + "/actions/default": { + "chords": [], + "haptics": [], + "poses": [], + "skeleton": [{ + "output": "/actions/default/in/skeletonlefthand", + "path": "/user/hand/left/input/skeleton/left" + }, + { + "output": "/actions/default/in/skeletonrighthand", + "path": "/user/hand/right/input/skeleton/right" + } + ], + "sources": [{ + "inputs": { + "click": { + "output": "/actions/default/in/clicksystem" + }, + "touch": { + "output": "/actions/default/in/touchsystem" + } + }, + "mode": "button", + "path": "/user/hand/left/input/Button0" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clicksystem" + }, + "touch": { + "output": "/actions/default/in/touchsystem" + } + }, + "mode": "button", + "path": "/user/hand/right/input/Button0" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clicktrigger" + }, + "pull": { + "output": "/actions/default/in/pulltrigger" + }, + "touch": { + "output": "/actions/default/in/touchtrigger" + } + }, + "mode": "trigger", + "path": "/user/hand/left/input/Button1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clicktrigger" + }, + "pull": { + "output": "/actions/default/in/pulltrigger" + }, + "touch": { + "output": "/actions/default/in/touchtrigger" + } + }, + "mode": "trigger", + "path": "/user/hand/right/input/Button1" + }, + { + "inputs": { + "position": { + "output": "/actions/default/in/positiontrackpad" + }, + "touch": { + "output": "/actions/default/in/touchtrackpad" + } + }, + "mode": "trackpad", + "path": "/user/hand/left/input/Joystick0" + }, + { + "inputs": { + "position": { + "output": "/actions/default/in/positiontrackpad" + }, + "touch": { + "output": "/actions/default/in/touchtrackpad" + } + }, + "mode": "trackpad", + "path": "/user/hand/right/input/Joystick0" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickthumbstick" + }, + "position": { + "output": "/actions/default/in/positionthumbstick" + }, + "touch": { + "output": "/actions/default/in/touchthumbstick" + } + }, + "mode": "joystick", + "path": "/user/hand/left/input/Joystick1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickthumbstick" + }, + "position": { + "output": "/actions/default/in/positionthumbstick" + }, + "touch": { + "output": "/actions/default/in/touchthumbstick" + } + }, + "mode": "joystick", + "path": "/user/hand/right/input/Joystick1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickgrip" + }, + "touch": { + "output": "/actions/default/in/touchgrip" + } + }, + "mode": "button", + "path": "/user/hand/left/input/Trigger1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickgrip" + }, + "touch": { + "output": "/actions/default/in/touchgrip" + } + }, + "mode": "button", + "path": "/user/hand/right/input/Trigger1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickabutton" + }, + "touch": { + "output": "/actions/default/in/touchabutton" + } + }, + "mode": "button", + "path": "/user/hand/left/input/Button1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickabutton" + }, + "touch": { + "output": "/actions/default/in/touchabutton" + } + }, + "mode": "button", + "path": "/user/hand/right/input/Button1" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickbbutton" + }, + "touch": { + "output": "/actions/default/in/touchbbutton" + } + }, + "mode": "button", + "path": "/user/hand/left/input/Button3" + }, + { + "inputs": { + "click": { + "output": "/actions/default/in/clickbbutton" + }, + "touch": { + "output": "/actions/default/in/touchbbutton" + } + }, + "mode": "button", + "path": "/user/hand/right/input/Button3" + } + ] + }, + "/actions/platformer": { + "chords": [], + "haptics": [], + "poses": [], + "skeleton": [], + "sources": [] + } + }, + "controller_type": "vmt", + "description": "", + "name": "VirtualMotionCapture configuration for vmt" +} \ No newline at end of file diff --git a/build/vmt/resources/input/vmt_profile.json b/build/vmt/resources/input/vmt_profile.json index 445768b..f46dbff 100644 --- a/build/vmt/resources/input/vmt_profile.json +++ b/build/vmt/resources/input/vmt_profile.json @@ -283,6 +283,10 @@ { "app_key": "openvr.component.vrcompositor", "binding_url": "vrcompositor_binding_vmt.json" + }, + { + "app_key": "system.generated.virtualmotioncapture.exe", + "binding_url": "virtualmotioncapture_binding_vmt.json" } ] } \ No newline at end of file