Skip to content

Commit

Permalink
- Added toggle variation
Browse files Browse the repository at this point in the history
  With systray icon for toggling PseudoVive on and off at runtime
- Updated for OpenVR SDK 1.0.13
  • Loading branch information
schellingb committed Mar 23, 2018
1 parent 459cd6d commit 3d7c874
Show file tree
Hide file tree
Showing 8 changed files with 3,141 additions and 2,689 deletions.
Binary file modified 2vive/bin/win32/driver_2vive.dll
Binary file not shown.
Binary file modified 2vive/bin/win64/driver_2vive.dll
Binary file not shown.
Binary file added 2vive_toggle/bin/win32/driver_2vive_toggle.dll
Binary file not shown.
Binary file added 2vive_toggle/bin/win64/driver_2vive_toggle.dll
Binary file not shown.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ This driver for SteamVR/OpenVR forces any loaded device driver to return Vive mo

You can check if the installation was successful by opening the 'Create System Report' window with the SteamVR menu or by right-clicking the SteamVR systray icon. Then under the 'Devices' tab it should list your devices with a different model name.

## Toggle Variation

This repository also includes a variation of the driver inside the '2vive_toggle' folder.

If you extract the '2vive_toggle' folder instead of '2vive' you will have a 'PV' icon next to the SteamVR icon in the windows system icon tray. This 'PV' icon allows you to activate and deactivate PseudoVive at runtime.

Make sure not to extract both '2vive' and '2vive_toggle' into the 'drivers' folder of SteamVR.

## Notes

SteamVR loads its drivers in alphabetical order so our driver is named in a way that makes sure it is loaded first (with a leading number).
Expand Down
185 changes: 178 additions & 7 deletions Source/driver_2vive.cpp

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Source/driver_2vive.vcxproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<SteamVRDirectory>$(MSBuildProgramFiles32)\Steam\SteamApps\common\SteamVR</SteamVRDirectory>
Expand Down Expand Up @@ -79,7 +79,7 @@
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>kernel32.lib;user32.lib</AdditionalDependencies>
<AdditionalDependencies>kernel32.lib;user32.lib;shell32.lib</AdditionalDependencies>
</Link>
<Link Condition="'$(Configuration)'=='Debug'">
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand Down
Loading

0 comments on commit 3d7c874

Please sign in to comment.