No Render Fix, Color/Brightness Sort Order, readme adjustment (#550)
* Adjust Brightness/Color Overlay Sort Orders for better app complienc * No Overlay Render Attempt fix * change readme update version string
This commit is contained in:
@@ -1 +1 @@
|
|||||||
5.3.1-release
|
5.3.2-release
|
||||||
@@ -14,7 +14,7 @@ All the types mean to you is which physical buttons can be bound to which action
|
|||||||
|
|
||||||
## Okay Cool? How do I do this?
|
## Okay Cool? How do I do this?
|
||||||
|
|
||||||
1. Go to SteamVR dashboard->Steam->Controller Bindings OR go to http://127.0.0.1:27062/dashboard/controllerbinding.html from a desktop browser WHILE steamVR is running.
|
1. Go to SteamVR dashboard->Steam->Controller Bindings OR go to http://localhost:27062/dashboard/controllerbinding.html from a desktop browser WHILE steamVR is running.
|
||||||
2. Select the application you want to modify keybinds for (Advanced Settings will currently always be at the bottom)
|
2. Select the application you want to modify keybinds for (Advanced Settings will currently always be at the bottom)
|
||||||
3. Select your controller (the controller must be on).
|
3. Select your controller (the controller must be on).
|
||||||
4. Select your binding.
|
4. Select your binding.
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
#include "utils/setup.h"
|
#include "utils/setup.h"
|
||||||
#include "settings/settings.h"
|
#include "settings/settings.h"
|
||||||
#include "openvr/ovr_settings_wrapper.h"
|
#include "openvr/ovr_settings_wrapper.h"
|
||||||
|
#ifdef _WIN64
|
||||||
|
# include <windows.h>
|
||||||
|
extern "C" __declspec( dllexport ) DWORD NvOptimusEnablement = 0x00000001;
|
||||||
|
extern "C" __declspec( dllexport ) DWORD
|
||||||
|
AmdPowerXpressRequestHighPerformance = 0x00000001;
|
||||||
|
#endif
|
||||||
|
|
||||||
INITIALIZE_EASYLOGGINGPP
|
INITIALIZE_EASYLOGGINGPP
|
||||||
|
|
||||||
@@ -14,6 +20,7 @@ int main( int argc, char* argv[] )
|
|||||||
LOG( INFO ) << settings::getSettingsAndValues();
|
LOG( INFO ) << settings::getSettingsAndValues();
|
||||||
|
|
||||||
QCoreApplication::setAttribute( Qt::AA_Use96Dpi );
|
QCoreApplication::setAttribute( Qt::AA_Use96Dpi );
|
||||||
|
QCoreApplication::setAttribute( Qt::AA_UseDesktopOpenGL );
|
||||||
MyQApplication mainEventLoop( argc, argv );
|
MyQApplication mainEventLoop( argc, argv );
|
||||||
mainEventLoop.setOrganizationName(
|
mainEventLoop.setOrganizationName(
|
||||||
application_strings::applicationOrganizationName );
|
application_strings::applicationOrganizationName );
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ void VideoTabController::initBrightnessOverlay()
|
|||||||
m_brightnessOverlayHandle,
|
m_brightnessOverlayHandle,
|
||||||
vr::k_unTrackedDeviceIndex_Hmd,
|
vr::k_unTrackedDeviceIndex_Hmd,
|
||||||
¬ificationTransform );
|
¬ificationTransform );
|
||||||
|
vr::VROverlay()->SetOverlaySortOrder( m_brightnessOverlayHandle,
|
||||||
|
sortMax );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -109,6 +111,8 @@ void VideoTabController::initColorOverlay()
|
|||||||
m_colorOverlayHandle,
|
m_colorOverlayHandle,
|
||||||
vr::k_unTrackedDeviceIndex_Hmd,
|
vr::k_unTrackedDeviceIndex_Hmd,
|
||||||
¬ificationTransform );
|
¬ificationTransform );
|
||||||
|
vr::VROverlay()->SetOverlaySortOrder( m_brightnessOverlayHandle,
|
||||||
|
sortMax );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ class VideoTabController : public QObject
|
|||||||
setColorOverlayOpacity NOTIFY colorOverlayOpacityChanged )
|
setColorOverlayOpacity NOTIFY colorOverlayOpacityChanged )
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
static constexpr uint32_t sortMax = 0xffffffff;
|
||||||
unsigned settingsUpdateCounter = 0;
|
unsigned settingsUpdateCounter = 0;
|
||||||
|
|
||||||
// how far away the overlay is, any OVERLAY closer will not be dimmed.
|
// how far away the overlay is, any OVERLAY closer will not be dimmed.
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{ "major": 5, "minor": 3, "patch": 1, "updateMessage": "", "optionalMessage": "" }
|
{ "major": 5, "minor": 3, "patch": 2, "updateMessage": "", "optionalMessage": "" }
|
||||||
Reference in New Issue
Block a user