Reset button and calibrate height button for revive tab & bugfixes.

This commit is contained in:
2016-12-18 21:04:10 +01:00
parent f4603e9515
commit 215227405e
3 changed files with 127 additions and 9 deletions
+5 -1
View File
@@ -39,7 +39,7 @@ namespace advsettings {
bool m_isOverlayInstalled = false;
int m_gripButtonMode = 0;
bool m_pixelsPerDisplayPixelOverrideEnabled = false;
float m_pixelsPerDisplayPixelOverride = 1.0;
float m_pixelsPerDisplayPixelOverride = 1.0f;
float m_thumbDeadzone = 0.3f;
float m_thumbRange = 2.0f;
float m_touchPitch = -28.0f;
@@ -85,6 +85,8 @@ namespace advsettings {
const QString& piName() const;
int piGender() const; // 0 .. Unknown, 1 .. Male, 2 .. Female
Q_INVOKABLE float getCurrentHMDHeight();
public slots:
void setGripButtonMode(int value, bool notify = true);
@@ -107,6 +109,8 @@ namespace advsettings {
void setPiName(const QString& value, bool notify = true);
void setPiGender(int value, bool notify = true); // 0 .. Unknown, 1 .. Male, 2 .. Female
void reset();
signals:
void isOverlayInstalledChanged(bool value);