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.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user