Completely remove features related to Desktop Overlay
As of SteamVR 1.10.1 the overlay width feature has been implemented by Valve in the standard settings. OpenVR features related to overlay translation have been removed and the main reason for including them (multi monitor setups) have been solved by Valve giving each screen an individual overlay.
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include <openvr.h>
|
||||
#include <easylogging++.h>
|
||||
#include "utils/Matrix.h"
|
||||
#include "openvr/overlay_utils.h"
|
||||
#include "keyboard_input/input_sender.h"
|
||||
#include "settings/settings.h"
|
||||
|
||||
@@ -284,16 +283,6 @@ OverlayController::OverlayController( bool desktopMode,
|
||||
QQmlEngine::setObjectOwnership( obj, QQmlEngine::CppOwnership );
|
||||
return obj;
|
||||
} );
|
||||
qmlRegisterSingletonType<overlay::DesktopOverlay>(
|
||||
qmlSingletonImportName,
|
||||
1,
|
||||
0,
|
||||
"DesktopOverlay",
|
||||
[]( QQmlEngine*, QJSEngine* ) {
|
||||
QObject* obj = &( objectAddress->m_desktopOverlay );
|
||||
QQmlEngine::setObjectOwnership( obj, QQmlEngine::CppOwnership );
|
||||
return obj;
|
||||
} );
|
||||
|
||||
// Grab local version number
|
||||
QStringList verNumericalString
|
||||
@@ -1014,7 +1003,6 @@ void OverlayController::mainEventLoop()
|
||||
case vr::VREvent_DashboardActivated:
|
||||
{
|
||||
LOG( DEBUG ) << "Dashboard activated";
|
||||
m_desktopOverlay.update();
|
||||
m_dashboardVisible = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user