diff --git a/Readme.md b/Readme.md index b9d15f5..27ff778 100644 --- a/Readme.md +++ b/Readme.md @@ -16,6 +16,7 @@ Adds an overlay to the OpenVR dashboard that allows access to advanced settings. - Temporarily move and rotate the playspace. - Floor height fix. - Displays several performance statistics and other statistics (e.g. headset rotations). +- Select the playback/mirror/recording audio device - Mute/unmute and set volume of audio mirror device. - Mute/unmute and set volume of microphone device. - Implements push-to-talk and allows to configure push-to-talk profiles. @@ -23,6 +24,7 @@ Adds an overlay to the OpenVR dashboard that allows access to advanced settings. - Revive settings support (Requires [Revive 1.0.4+](https://github.com/LibreVR/Revive) for full functionality). - VR Keyboard Input Utilities - Simple Alarm Clock +- Player height adjust toggle (Credits to mklim) # Usage @@ -97,8 +99,9 @@ Allows you to fix the height of your floor. Just place one controller on your fl ![Audio Page](https://raw.githubusercontent.com/matzman666/OpenVR-AdvancedSettings/master/docs/screenshots/AudioPage.png) -- **Mirror Device**: Allows to set the volume of the audio mirror device and to mute/unmute it. -- **Microphone**: Allows to set the volume of the microphone device and to mute/unmute it. +- **Playback Device**: Allows to select the playback device. +- **Mirror Device**: Allows to select the mirror device, set its volume and to mute/unmute it. +- **Microphone**: Allows to select the microphone device, set its volume and to mute/unmute it. - **Push-to-Talk**: Enable/disable push-to-talk. When push-to-talk is activated the microphone gets muted unless one of the configured buttons is pressed on one of the configured controllers. - **Left Controller**: Configure the left controller for push-to-talk. - **Right Controller**: Configure the right controller for push-to-talk. @@ -133,6 +136,14 @@ Any changes to controller settings are immediately applied by Revive (Requires R - **Alarm Clock:** Just a simple alarm clock so you don't miss important appointments. VR can sure mess up perception of time. Does not work in desktop mode. +- **Steam Desktop Overlay Width:** Allows to increase the size of the Steam desktop overlay. Useful for multi-monitor setups. + +## - Accessibility Page: + +![Accessibility Page](https://raw.githubusercontent.com/matzman666/OpenVR-AdvancedSettings/master/docs/screenshots/AccessibilityPage.png) + +- **Adjust Player Height:** Offsets the player height to allows short or wheelchair-bound players to fully interact with height-limited applications by both boosting their height and being able to touch the in-game floor when necessary by pressing a configurable motion controller button. + ## - Statistics Page: ![Statistics Page](https://raw.githubusercontent.com/matzman666/OpenVR-AdvancedSettings/master/docs/screenshots/StatisticsPage.png) @@ -141,9 +152,11 @@ Any changes to controller settings are immediately applied by Revive (Requires R - **HMD Rotations**: Shows the number of rotations around the y-axis (Useful for untangling the cord). - **Left Controller Max Speed**: Shows the max speed of the left controller. - **Right Controller Max Speed**: Shows the max speed of the right controller. +- **Presented Frames**: Number of frames presented to the hmd in the currently running application. - **Dropped Frames**: Number of frames dropped in the currently running application. - **Reprojected Frames**: Number of frames reprojected in the currently running application. -- **Reprojected Frames**: Number of times the currently running application timed out. +- **Timed Out**: Number of times the currently running application timed out. +- **Reprojection Ratio**: Ratio of presented frames to reprojected frames. ## - Settings Page: @@ -152,6 +165,11 @@ Any changes to controller settings are immediately applied by Revive (Requires R - **Autostart:** Allows you to enable/disable auto start. - **Force Revive Page:** Force the Revive page button on the root page to be visible. +# How to Compile + +- Use the Qt addon for Visual Studio to create a Visual Studio project from the .pro file. +- Execute bin/windeployqt.bat which copies all Qt files necessary for execution into the output directory. + # Notes: - The center marker and the play space marker are provided by the chaperone subsystem, and therefore they will have the same color and visibility settings as the chaperone bounds. diff --git a/bin/win64/res/qml/RootPage.qml b/bin/win64/res/qml/RootPage.qml index 1e1396a..edaa9c2 100644 --- a/bin/win64/res/qml/RootPage.qml +++ b/bin/win64/res/qml/RootPage.qml @@ -432,7 +432,7 @@ MyStackViewPage { Connections { target: SettingsTabController onForceRevivePageChanged: { - reviveButton.enabled = SettingsTabController.forceRevivePage + reviveButton.visible = SettingsTabController.forceRevivePage ? true : ReviveTabController.isOverlayInstalled } } diff --git a/docs/screenshots/AccessibilityPage.png b/docs/screenshots/AccessibilityPage.png new file mode 100644 index 0000000..489d548 Binary files /dev/null and b/docs/screenshots/AccessibilityPage.png differ diff --git a/docs/screenshots/AudioPage.png b/docs/screenshots/AudioPage.png index 9a4fbbd..b6fb795 100644 Binary files a/docs/screenshots/AudioPage.png and b/docs/screenshots/AudioPage.png differ diff --git a/docs/screenshots/RevivePage.png b/docs/screenshots/RevivePage.png index 610f368..34e6a83 100644 Binary files a/docs/screenshots/RevivePage.png and b/docs/screenshots/RevivePage.png differ diff --git a/docs/screenshots/RootPage.png b/docs/screenshots/RootPage.png index 8c344d8..08aa3d4 100644 Binary files a/docs/screenshots/RootPage.png and b/docs/screenshots/RootPage.png differ diff --git a/docs/screenshots/StatisticsPage.png b/docs/screenshots/StatisticsPage.png index 918cbb6..fbd06ba 100644 Binary files a/docs/screenshots/StatisticsPage.png and b/docs/screenshots/StatisticsPage.png differ diff --git a/docs/screenshots/UtilitiesPage.png b/docs/screenshots/UtilitiesPage.png index ea6dc40..786066f 100644 Binary files a/docs/screenshots/UtilitiesPage.png and b/docs/screenshots/UtilitiesPage.png differ diff --git a/src/overlaycontroller.h b/src/overlaycontroller.h index 9f9796b..98819de 100644 --- a/src/overlaycontroller.h +++ b/src/overlaycontroller.h @@ -45,7 +45,7 @@ class OverlayController : public QObject { public: static constexpr const char* applicationKey = "matzman666.AdvancedSettings"; static constexpr const char* applicationName = "Advanced Settings"; - static constexpr const char* applicationVersionString = "v2.2.1"; + static constexpr const char* applicationVersionString = "v2.3"; private: vr::VROverlayHandle_t m_ulOverlayHandle = vr::k_ulOverlayHandleInvalid; diff --git a/src/tabcontrollers/ReviveTabController.cpp b/src/tabcontrollers/ReviveTabController.cpp index 11462fb..e1da377 100644 --- a/src/tabcontrollers/ReviveTabController.cpp +++ b/src/tabcontrollers/ReviveTabController.cpp @@ -631,10 +631,12 @@ namespace advsettings { LOG(WARNING) << "Could not remove \"revive::" << key_toggleGrip << "\" setting: " << vr::VRSettings()->GetSettingsErrorNameFromEnum(vrSettingsError); } - vr::VRSettings()->RemoveKeyInSection(section_revive, key_toggleDelay, &vrSettingsError); + // This setting has no default value listed in Revive's default.vrsettings yet. + /*vr::VRSettings()->RemoveKeyInSection(section_revive, key_toggleDelay, &vrSettingsError); if (vrSettingsError != vr::VRSettingsError_None) { LOG(WARNING) << "Could not remove \"revive::" << key_toggleDelay << "\" setting: " << vr::VRSettings()->GetSettingsErrorNameFromEnum(vrSettingsError); - } + }*/ + setToggleDelay(0.5f); vr::VRSettings()->RemoveKeyInSection(section_revive, key_thumbDeadzone, &vrSettingsError); if (vrSettingsError != vr::VRSettingsError_None) {