Closed username223 closed 5 years ago
Partially implemented with #59.
The media keys have now been implemented, I will look into migrating the legacy system next.
Using the new IVRInput system breaks legacy inputs.
Some legacy inputs use the settings file for profiles. Not being able to use the old profiles are a breaking change.
I am closing, as I believe this has already been done now.
The new SteamVR IVRInput system allows users to bind actions to custom buttons on most supported controllers. The current implementation of our input system has hard coded buttons in the source code, and is not portable across controllers.
Some of the functions that we're currently using are also marked as deprecated. It is unknown when these functions will be removed from OpenVR.
A quick glance reveals that at least these functions are marked as deprecated.
Moving to the new system would allow increased flexibility in controller hotkeys and decreased development time for new features and general upkeep.
Currently, the support for overlay applications is not that great, meaning some tricks will need to be utilized in order to make use of the new system. However, even with those tricks the new system will most likely be simpler and easier to use and extend.
I will look into this issue.