Skip to content

Instantly share code, notes, and snippets.

@kazu0617
Created November 7, 2022 20:55
Show Gist options
  • Save kazu0617/41ffdce8f9c34e9c78755f3120bc8c0c to your computer and use it in GitHub Desktop.
Save kazu0617/41ffdce8f9c34e9c78755f3120bc8c0c to your computer and use it in GitHub Desktop.
patch for NeosVR. Install to Neos_Data\StreamingAssets\SteamVR
{
"app_key": "steam.app.740250",
"bindings": {
"/actions/generic": {
"chords": [],
"poses": [
{
"output": "/actions/generic/in/pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/generic/in/pose",
"path": "/user/hand/right/pose/raw"
}
],
"haptics": [
{
"output": "/actions/generic/out/haptic",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/generic/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionprimary"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/generic/in/strength"
},
"touch": {
"output": "/actions/generic/in/touchingstrength"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionprimary"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/generic/in/strength"
},
"touch": {
"output": "/actions/generic/in/touchingstrength"
}
}
},
{
"path": "/user/hand/left/input/thumbstick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionsecondary"
},
"position": {
"output": "/actions/generic/in/axis"
},
"touch": {
"output": "/actions/generic/in/touchingaxis"
}
}
},
{
"path": "/user/hand/right/input/thumbstick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionsecondary"
},
"position": {
"output": "/actions/generic/in/axis"
},
"touch": {
"output": "/actions/generic/in/touchingaxis"
}
}
},
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actiongrab"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actiongrab"
}
}
},
{
"path": "/user/hand/left/input/a",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionmenu"
}
}
}
],
"skeleton": []
},
"/actions/knuckles": {
"chords": [],
"poses": [
{
"output": "/actions/knuckles/in/pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/knuckles/in/pose",
"path": "/user/hand/right/pose/raw"
}
],
"haptics": [
{
"output": "/actions/knuckles/out/haptic",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/knuckles/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/trigger_click"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/knuckles/in/trigger"
},
"touch": {
"output": "/actions/knuckles/in/trigger_touch"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/trigger_click"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/knuckles/in/trigger"
},
"touch": {
"output": "/actions/knuckles/in/trigger_touch"
}
}
},
{
"path": "/user/hand/left/input/trackpad",
"mode": "trackpad",
"parameters": {},
"inputs": {
"position": {
"output": "/actions/knuckles/in/touchpad"
},
"touch": {
"output": "/actions/knuckles/in/touchpad_touch"
}
}
},
{
"path": "/user/hand/right/input/trackpad",
"mode": "trackpad",
"parameters": {},
"inputs": {
"position": {
"output": "/actions/knuckles/in/touchpad"
},
"touch": {
"output": "/actions/knuckles/in/touchpad_touch"
}
}
},
{
"path": "/user/hand/left/input/thumbstick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/joystick_click"
},
"position": {
"output": "/actions/knuckles/in/joystick"
},
"touch": {
"output": "/actions/knuckles/in/joystick_touch"
}
}
},
{
"path": "/user/hand/right/input/thumbstick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/joystick_click"
},
"position": {
"output": "/actions/knuckles/in/joystick"
},
"touch": {
"output": "/actions/knuckles/in/joystick_touch"
}
}
},
{
"path": "/user/hand/left/input/a",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/button_a"
},
"touch": {
"output": "/actions/knuckles/in/button_a_touch"
}
}
},
{
"path": "/user/hand/right/input/a",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/button_a"
},
"touch": {
"output": "/actions/knuckles/in/button_a_touch"
}
}
},
{
"path": "/user/hand/left/input/b",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/button_b"
},
"touch": {
"output": "/actions/knuckles/in/button_b-touch"
}
}
},
{
"path": "/user/hand/right/input/b",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/button_b"
},
"touch": {
"output": "/actions/knuckles/in/button_b-touch"
}
}
},
{
"path": "/user/hand/left/input/trackpad",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/touchpad_press"
}
}
},
{
"path": "/user/hand/right/input/trackpad",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/knuckles/in/touchpad_press"
}
}
},
{
"path": "/user/hand/left/input/grip",
"mode": "force_sensor",
"parameters": {},
"inputs": {
"force": {
"output": "/actions/knuckles/in/grip"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "force_sensor",
"parameters": {},
"inputs": {
"force": {
"output": "/actions/knuckles/in/grip"
}
}
},
{
"path": "/user/hand/left/input/trackpad",
"mode": "force_sensor",
"parameters": {},
"inputs": {
"force": {
"output": "/actions/knuckles/in/touchpad_force"
}
}
},
{
"path": "/user/hand/right/input/trackpad",
"mode": "force_sensor",
"parameters": {},
"inputs": {
"force": {
"output": "/actions/knuckles/in/touchpad_force"
}
}
},
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"parameters": {
"click_activate_threshold": "0.3",
"click_deactivate_threshold": "0.1",
"force_input": "force",
"touch_activate_threshold": "0.01",
"touch_deactivate_threshold": "0"
},
"inputs": {
"click": {
"output": "/actions/knuckles/in/grip_click"
},
"touch": {
"output": "/actions/knuckles/in/grip_touch"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"parameters": {
"click_activate_threshold": "0.3",
"click_deactivate_threshold": "0.1",
"force_input": "force",
"touch_activate_threshold": "0.01",
"touch_deactivate_threshold": "0"
},
"inputs": {
"click": {
"output": "/actions/knuckles/in/grip_click"
},
"touch": {
"output": "/actions/knuckles/in/grip_touch"
}
}
}
],
"skeleton": [
{
"output": "/actions/knuckles/in/right_hand",
"path": "/user/hand/right/input/skeleton/right"
},
{
"output": "/actions/knuckles/in/left_hand",
"path": "/user/hand/left/input/skeleton/left"
}
]
}
},
"controller_type": "knuckles",
"description": "Added skeleton",
"name": "Index Controller"
}
{
"app_key": "steam.app.740250",
"bindings": {
"/actions/generic": {
"chords": [],
"poses": [
{
"output": "/actions/generic/in/pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/generic/in/pose",
"path": "/user/hand/right/pose/raw"
}
],
"haptics": [
{
"output": "/actions/generic/out/haptic",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/generic/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actiongrab"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actiongrab"
}
}
},
{
"path": "/user/hand/left/input/application_menu",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionmenu"
}
}
},
{
"path": "/user/hand/right/input/application_menu",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionmenu"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionprimary"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/generic/in/strength"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionprimary"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/generic/in/strength"
}
}
},
{
"path": "/user/hand/left/input/trackpad",
"mode": "trackpad",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionsecondary"
},
"position": {
"output": "/actions/generic/in/axis"
},
"touch": {
"output": "/actions/generic/in/touchingaxis"
}
}
},
{
"path": "/user/hand/right/input/trackpad",
"mode": "trackpad",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionsecondary"
},
"position": {
"output": "/actions/generic/in/axis"
},
"touch": {
"output": "/actions/generic/in/touchingaxis"
}
}
}
],
"skeleton": [
{
"output": "/actions/generic/in/righthand",
"path": "/user/hand/left/input/skeleton/right"
},
{
"output": "/actions/generic/in/righthand",
"path": "/user/hand/right/input/skeleton/right"
}
]
},
"/actions/vive": {
"chords": [],
"poses": [
{
"output": "/actions/vive/in/pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/vive/in/pose",
"path": "/user/hand/right/pose/raw"
}
],
"haptics": [
{
"output": "/actions/vive/out/haptic",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/vive/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/grip"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/grip"
}
}
},
{
"path": "/user/hand/left/input/application_menu",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/app"
}
}
},
{
"path": "/user/hand/right/input/application_menu",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/app"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/trigger_click"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/vive/in/trigger"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/trigger_click"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/vive/in/trigger"
}
}
},
{
"path": "/user/hand/left/input/trackpad",
"mode": "trackpad",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/touchpad_click"
},
"position": {
"output": "/actions/vive/in/touchpad"
},
"touch": {
"output": "/actions/vive/in/touchpad_touch"
}
}
},
{
"path": "/user/hand/right/input/trackpad",
"mode": "trackpad",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/vive/in/touchpad_click"
},
"position": {
"output": "/actions/vive/in/touchpad"
},
"touch": {
"output": "/actions/vive/in/touchpad_touch"
}
}
}
],
"skeleton": [
{
"output": "/actions/vive/in/right_hand",
"path": "/user/hand/right/input/skeleton/right"
},
{
"output": "/actions/vive/in/left_hand",
"path": "/user/hand/left/input/skeleton/left"
},
{
"output": "/actions/vive/in/right_hand",
"path": "/user/hand/left/input/skeleton/right"
}
]
}
},
"controller_type": "vive_controller",
"description": "Added skeleton for both hands",
"name": "vive_controller"
}
{
"bindings": {
"/actions/generic": {
"chords": [],
"poses": [
{
"output": "/actions/generic/in/pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/generic/in/pose",
"path": "/user/hand/right/pose/raw"
}
],
"haptics": [
{
"output": "/actions/generic/out/haptic",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/generic/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"path": "/user/hand/left/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionprimary"
}
}
},
{
"path": "/user/hand/left/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/generic/in/strength"
},
"touch": {
"output": "/actions/generic/in/touchingstrength"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionprimary"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"pull": {
"output": "/actions/generic/in/strength"
},
"touch": {
"output": "/actions/generic/in/touchingstrength"
}
}
},
{
"path": "/user/hand/left/input/joystick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionsecondary"
},
"position": {
"output": "/actions/generic/in/axis"
},
"touch": {
"output": "/actions/generic/in/touchingaxis"
}
}
},
{
"path": "/user/hand/right/input/joystick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionsecondary"
},
"position": {
"output": "/actions/generic/in/axis"
},
"touch": {
"output": "/actions/generic/in/touchingaxis"
}
}
},
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actiongrab"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actiongrab"
}
}
},
{
"path": "/user/hand/left/input/y",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionmenu"
}
}
},
{
"path": "/user/hand/right/input/y",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/generic/in/actionmenu"
}
}
}
],
"skeleton": []
},
"/actions/cosmos": {
"chords": [],
"poses": [
{
"output": "/actions/cosmos/in/pose",
"path": "/user/hand/left/pose/raw"
},
{
"output": "/actions/cosmos/in/pose",
"path": "/user/hand/right/pose/raw"
}
],
"haptics": [
{
"output": "/actions/cosmos/out/haptic",
"path": "/user/hand/left/output/haptic"
},
{
"output": "/actions/cosmos/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"path": "/user/hand/left/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/trigger_click"
},
"pull": {
"output": "/actions/cosmos/in/trigger"
},
"touch": {
"output": "/actions/cosmos/in/trigger_touch"
}
}
},
{
"path": "/user/hand/right/input/trigger",
"mode": "trigger",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/trigger_click"
},
"pull": {
"output": "/actions/cosmos/in/trigger"
},
"touch": {
"output": "/actions/cosmos/in/trigger_touch"
}
}
},
{
"path": "/user/hand/left/input/joystick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/joystick_click"
},
"position": {
"output": "/actions/cosmos/in/joystick"
},
"touch": {
"output": "/actions/cosmos/in/joystick_touch"
}
}
},
{
"path": "/user/hand/right/input/joystick",
"mode": "joystick",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/joystick_click"
},
"position": {
"output": "/actions/cosmos/in/joystick"
},
"touch": {
"output": "/actions/cosmos/in/joystick_touch"
}
}
},
{
"path": "/user/hand/left/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/grip_click"
}
}
},
{
"path": "/user/hand/right/input/grip",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/grip_click"
}
}
},
{
"path": "/user/hand/right/input/a",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/buttonax"
}
}
},
{
"path": "/user/hand/right/input/b",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/buttonby"
}
}
},
{
"path": "/user/hand/left/input/x",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/buttonax"
}
}
},
{
"path": "/user/hand/left/input/y",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/buttonby"
}
}
},
{
"path": "/user/hand/left/input/bumper",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/bumper"
}
}
},
{
"path": "/user/hand/right/input/bumper",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/bumper"
}
}
},
{
"path": "/user/hand/left/input/menu",
"mode": "button",
"parameters": {},
"inputs": {
"click": {
"output": "/actions/cosmos/in/menu"
}
}
}
],
"skeleton": [
{
"output": "/actions/cosmos/in/left_hand",
"path": "/user/hand/left/input/skeleton/left"
},
{
"output": "/actions/cosmos/in/right_hand",
"path": "/user/hand/right/input/skeleton/right"
}
]
}
},
"controller_type": "vive_cosmos_controller",
"description": "",
"name": "vive_cosmos_controller"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment