Valve's SteamVR Input Plugin

You can have a look at this support thread for a sample: