This is an open source project based on steamVR development driver, used in the windows platform, can provide you with the following functions:
SteamVR game example:
Use CMake to build visual studio project, and then open the “openvr_survivor.sln”, compiled the driver file package openvr_survivor, and then copy it to the “Steam\steamapps\common\SteamVR\drivers” directory, and then modify the default.vrsettings:
/**
file under the path:openvr_survivor\resources\settings
set your monitor resolution.
*/
"windowWidth" : 1920,
"windowHeight" : 1080,
"renderWidth" : 1920,
"renderHeight" : 1080,
compiled driver
HMD 6dof:
rotate information:
yaw:'a' left, 'd' right.
pitch:'w' up, 's' or 'x'down.
roll:'q' anticlockwise,'c' clockwise.
other function:'c' clear rotate.
position information:
forward:'VK_NUMPAD8',back:'VK_NUMPAD2'.
right:'VK_NUMPAD6',left:'VK_NUMPAD4'.
up:'VK_NUMPAD9',down:'VK_NUMPAD1'.
other function:'VK_NUMPAD5' clear position.
note:The numeric key above is the numeric key on the right.
right hand controller:
right controller rotate information:
yaw:'j' left, 'l' right.
pitch:'i' up, 'k' or ',' down.
roll:'u' anticlockwise,'o' clockwise.
other function:'.' clear rotate.
right controller position information:
forward:'VK_UP',back:'VK_DOWN'.
right:'VK_RIGHT',left:'VK_LEFT'.
up:'VK_NUMPAD0',down:'VK_RCONTROL'.
other function:'VK_DECIMAL' clear position.
right controller button information:
Menu button:'VK_BACK'
Trackedpad Left:'VK_KEY_F'
Trackedpad Up:'VK_KEY_T'
Trackedpad Right:'VK_KEY_H'
Trackedpad Down:'VK_KEY_G' or 'VK_KEY_B'
System Button:'VK_ESCAPE'
Trigger:'VK_SPACE','7','9'
Grip Button:'VK_KEY_9'
Trackpad Press:'VK_KEY_0'
This is a preliminary version, relying on personal strength is difficult to perfect, if you have any good suggestions ,you can post in gitter chat room,and if you would like to join us, please contact me, my mailbox:[email protected].