1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-28 15:29:55 +02:00

OpenVR simple input

This commit is contained in:
XProger
2019-07-25 04:28:54 +03:00
parent 754f08d486
commit 634b27bfd9
3 changed files with 75 additions and 279 deletions

View File

@@ -1,75 +0,0 @@
{
"actions" : [
{
"name" : "/actions/demo/in/Left",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Right",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Up",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Down",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Jump",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Walk",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Action",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Weapon",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Roll",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Inventory",
"type" : "boolean"
},
{
"name" : "/actions/demo/in/Start",
"type" : "boolean"
}
],
"default_bindings" : [
{
"binding_url" : "system_generated_openlara_exe_binding_holographic_controller.json",
"controller_type" : "holographic_controller"
}
],
"localization" : [
{
"/actions/demo/in/Action" : "Action",
"/actions/demo/in/AnalogInput" : "Analog Input",
"/actions/demo/in/Down" : "MoveDown",
"/actions/demo/in/Hand_Left" : "Left Hand Pose",
"/actions/demo/in/Hand_Right" : "Right Hand Pose",
"/actions/demo/in/Inventory" : "Inventory",
"/actions/demo/in/Jump" : "Jump",
"/actions/demo/in/Left" : "MoveLeft",
"/actions/demo/in/Right" : "MoveRight",
"/actions/demo/in/Roll" : "Roll",
"/actions/demo/in/Start" : "Start",
"/actions/demo/in/Up" : "MoveUp",
"/actions/demo/in/Walk" : "Walk",
"/actions/demo/in/Weapon" : "Weapon",
"/actions/demo/out/haptic_left" : "Left Haptic Feedback",
"/actions/demo/out/haptic_right" : "Right Haptic Feedback",
"language_tag" : "en_US"
}
]
}

View File

@@ -1,120 +0,0 @@
{
"alias_info" : {},
"app_key" : "system.generated.openlara.exe",
"bindings" : {
"/actions/demo" : {
"sources" : [
{
"inputs" : {
"east" : {
"output" : "/actions/demo/in/right"
},
"north" : {
"output" : "/actions/demo/in/up"
},
"south" : {
"output" : "/actions/demo/in/down"
},
"west" : {
"output" : "/actions/demo/in/left"
}
},
"mode" : "dpad",
"parameters" : {
"sub_mode" : "click"
},
"path" : "/user/hand/left/input/trackpad"
},
{
"inputs" : {
"east" : {
"output" : "/actions/demo/in/right"
},
"north" : {
"output" : "/actions/demo/in/up"
},
"south" : {
"output" : "/actions/demo/in/down"
},
"west" : {
"output" : "/actions/demo/in/left"
}
},
"mode" : "dpad",
"parameters" : {
"sub_mode" : "touch"
},
"path" : "/user/hand/left/input/joystick"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/jump"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/trigger"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/action"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/trigger"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/walk"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/grip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/weapon"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/trackpad"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/start"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/application_menu"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/inventory"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/application_menu"
},
{
"inputs" : {
"click" : {
"output" : "/actions/demo/in/roll"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/grip"
}
]
}
},
"controller_type" : "holographic_controller",
"description" : "",
"name" : "OpenLaraTestWMRBinding",
"options" : {},
"simulated_actions" : []
}