-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change driver name Added additional driver files Configure vscode to launch and debug steam vr Added lilang library
- Loading branch information
Showing
41 changed files
with
5,981 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "libraries/openvr"] | ||
path = libraries/openvr | ||
url = https://github.com/ValveSoftware/openvr.git | ||
[submodule "libraries/linalg"] | ||
path = libraries/linalg | ||
url = https://github.com/sgorsten/linalg.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "VRServer", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\SteamVR\\bin\\win64\\vrserver.exe", | ||
"args": [ | ||
"--keepalive" | ||
], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
}, | ||
{ | ||
"name": "SteamVR", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\SteamVR\\bin\\win64\\vrstartup.exe", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Launch", | ||
"configurations": ["VRServer", "SteamVR"], | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"alwaysActivate": true, | ||
"name" : "SlimeVR", | ||
"directory" : "", | ||
"resourceOnly" : false | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions
83
driver/slimevr/resources/input/example_controller_bindings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"jsonid": "input_profile", | ||
"controller_type": "example_controller", | ||
"device_class": "TrackedDeviceClass_Controller", | ||
"resource_root": "example", | ||
"driver_name": "example", | ||
"input_bindingui_mode": "controller_handed", | ||
"should_show_binding_errors": true, | ||
"input_bindingui_left": { | ||
"image": "{example}/icons/example_controller_left.svg" | ||
}, | ||
"input_bindingui_right": { | ||
"image": "{example}/icons/example_controller_right.svg" | ||
}, | ||
"input_source": { | ||
"/pose/raw" : { | ||
"type" : "pose", | ||
"binding_image_point" : [ 0,0 ] | ||
}, | ||
"/output/haptic": { | ||
"type": "vibration", | ||
"binding_image_point": [0,0] | ||
}, | ||
"/input/a": { | ||
"type": "button", | ||
"click": true, | ||
"touch" : true, | ||
"binding_image_point": [0,0] | ||
}, | ||
"/input/b": { | ||
"type": "button", | ||
"click": true, | ||
"touch" : true, | ||
"binding_image_point": [0,0] | ||
}, | ||
"/input/trigger" : { | ||
"type" : "trigger", | ||
"click" : true, | ||
"touch" : true, | ||
"value" : true, | ||
"binding_image_point" : [ 0, 0 ] | ||
}, | ||
"/input/grip" : { | ||
"type" : "trigger", | ||
"force" : true, | ||
"value" : true, | ||
"touch" : true, | ||
"input_activity_path" : "/input/grip/force", | ||
"input_activity_threshold" : 0.1, | ||
"binding_image_point" : [ 0, 0 ] | ||
}, | ||
"/input/system": { | ||
"type": "button", | ||
"click": true, | ||
"touch" : true, | ||
"binding_image_point": [0,0] | ||
}, | ||
"/input/trackpad": { | ||
"type": "trackpad", | ||
"click": true, | ||
"touch" : true, | ||
"binding_image_point": [0,0] | ||
}, | ||
"/input/joystick": { | ||
"type": "joystick", | ||
"click": true, | ||
"touch": true, | ||
"binding_image_point": [0,0] | ||
}, | ||
"/input/skeleton/left" : { | ||
"type" : "skeleton", | ||
"skeleton": "/skeleton/hand/left", | ||
"side" : "left", | ||
"binding_image_point" : [ 0, 0 ] | ||
}, | ||
"/input/skeleton/right" : { | ||
"type" : "skeleton", | ||
"skeleton": "/skeleton/hand/right", | ||
"side" : "right", | ||
"binding_image_point" : [ 0, 0 ] | ||
} | ||
} | ||
} |
Oops, something went wrong.