Move action manifest files to src/package_files

Putting them in the new directory makes the automatically get included
for deployment.

legacy_actions.json was not a good name for the file, since it actually
contained default bindings for Vive controllers. vive_defaults.json
better explains what it is.
This commit is contained in:
Vasily
2019-01-19 16:42:03 +01:00
parent 586ee558c4
commit 1585322c9d
2 changed files with 1 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"default_bindings": [
{
"controller_type": "vive_controller",
"binding_url": "default_action_manifests/vive_defaults.json"
}
],
"actions": [
{
"name": "/actions/main/in/PlayNextTrack",
"requirement": "optional",
"type": "boolean"
}
],
"action_sets": [
{
"name": "/actions/main",
"usage": "leftright"
}
],
"localization" : [
{
"language_tag": "en",
"/actions/main" : "My Game Actions",
"/actions/main/in/PlayNextTrack" : "Play Next Track"
}
]
}
@@ -0,0 +1,42 @@
{
"alias_info" : {},
"app_key" : "matzman666.advancedsettings",
"bindings" : {
"/actions/main" : {
"sources" : [
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/playnexttrack"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/application_menu"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/playnexttrack"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/application_menu"
},
{
"inputs" : {
"click" : {
"output" : "/actions/main/in/playnexttrack"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/grip"
}
]
}
},
"controller_type" : "vive_controller",
"description" : "",
"name" : "My My Test configuration for Vive Controller",
"options" : {},
"simulated_actions" : []
}