Files
OpenVR-AdvancedSettings-frame/IVRInput/action_manifest.json
T
Vasily 5accfd478a Implement beta IVRInput system for testing
In order to test new system:

Build and deploy application.

Copy both files from IVRInput/ dir into the bin/win64 folder.

Change const std::string m_actionManifestPath in steamivrinput.h to be
directly to your action_manifest.json file.

Run and turn on a Vive controller. Press the menu button. If logs say
"NEXT SONG SET!" it works.
2019-01-19 16:41:59 +01:00

30 lines
534 B
JSON

{
"default_bindings": [
{
"controller_type": "vive_controller",
"binding_url": "legacy_actions.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"
}
]
}