From ba53125472a21a664de65e1bc5a1594d030034a3 Mon Sep 17 00:00:00 2001 From: DEC05EBA Date: Mon, 16 Dec 2019 00:26:22 +0100 Subject: initial commit --- config/hellovr_bindings_generic.json | 94 ++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 config/hellovr_bindings_generic.json (limited to 'config/hellovr_bindings_generic.json') diff --git a/config/hellovr_bindings_generic.json b/config/hellovr_bindings_generic.json new file mode 100644 index 0000000..ae5fb46 --- /dev/null +++ b/config/hellovr_bindings_generic.json @@ -0,0 +1,94 @@ +{ + "bindings" : { + "/actions/demo" : { + "poses" : [ + { + "output" : "/actions/demo/in/hand_left", + "path" : "/user/hand/left/pose/raw" + }, + { + "output" : "/actions/demo/in/hand_right", + "path" : "/user/hand/right/pose/raw" + } + ], + "haptics" : [ + { + "output" : "/actions/demo/out/haptic_right", + "path" : "/user/hand/right/output/haptic" + }, + { + "output" : "/actions/demo/out/haptic_left", + "path" : "/user/hand/left/output/haptic" + } + ], + "sources" : [ + { + "inputs" : { + "click" : { + "output" : "/actions/demo/in/hidecubes" + } + }, + "mode" : "button", + "path" : "/user/hand/right/input/trigger" + }, + { + "inputs" : { + "position" : { + "output" : "/actions/demo/in/analoginput" + } + }, + "mode" : "trackpad", + "path" : "/user/hand/right/input/trackpad" + }, + { + "inputs" : { + "click" : { + "output" : "/actions/demo/in/triggerhaptic" + } + }, + "mode" : "button", + "path" : "/user/hand/right/input/grip" + }, + { + "inputs" : { + "click" : { + "output" : "/actions/demo/in/hidecubes" + } + }, + "mode" : "button", + "path" : "/user/hand/left/input/trigger" + }, + { + "inputs" : { + "click" : { + "output" : "/actions/demo/in/triggerhaptic" + } + }, + "mode" : "button", + "path" : "/user/hand/left/input/grip" + }, + { + "inputs" : { + "click" : { + "output" : "/actions/demo/in/hidethiscontroller" + } + }, + "mode" : "button", + "path" : "/user/hand/left/input/application_menu" + }, + { + "inputs" : { + "click" : { + "output" : "/actions/demo/in/hidethiscontroller" + } + }, + "mode" : "button", + "path" : "/user/hand/right/input/application_menu" + } + ] + } + }, + "controller_type" : "generic", + "description" : "Bindings for the OpenVR SDK \"hellovr_opengl\" demo for a generic controller", + "name" : "HelloVR bindings for a generic controller" +} -- cgit v1.2.3