VR Controller Input Mapping Question

I am working on a cross vr platform app which requires using controller inputs from oculus, steamvr, windwosmr, gearvr, and daydreamvr.

For starters I’d like to make an input framework that allows a listener to find a select action from all these platforms’ inputs (ie. ‘A’ button on oculus touch, Trigger press on Vive controller, Trackpad click on GearVR remote, etc all bound to a select/click action).

Looking for suggestions on how to go about setting this up! We’ve already tried a couple methods, but I don’t want that to influence what you guys might think.

Hey, it might not be a complete answer but does VRTK provide some of this? (I think it does some) Or if it doesn’t do all of them, maybe you can add and do a pull request? (help improve everyone’s state!)
HTH