Prox sensor re-integration (#220)
* added arbitrary orientation change * removed commented code * updated to OVR 1.4.18 * changed two instances using new to init via array * moved prox sensor action to haptic instead of Misc * fixed json file, added prox sensor back for mic mute/un-mute * added proximity sensor to audio and haptic chaperone warnings * fixed fall-through behavior * removed bad prox code
This commit is contained in:
@@ -175,6 +175,8 @@ private:
|
||||
|
||||
bool m_isHapticGood = true;
|
||||
bool m_isHMDActive = false;
|
||||
bool m_isProxActive = false;
|
||||
bool m_HMDHasProx = false;
|
||||
|
||||
int m_updateTicksChaperoneReload = 0;
|
||||
|
||||
@@ -210,6 +212,8 @@ public:
|
||||
void setRightInputHandle( vr::VRInputValueHandle_t handle );
|
||||
void setLeftInputHandle( vr::VRInputValueHandle_t handle );
|
||||
|
||||
void setProxState( bool value );
|
||||
|
||||
bool isChaperoneSwitchToBeginnerEnabled() const;
|
||||
float chaperoneSwitchToBeginnerDistance() const;
|
||||
|
||||
@@ -263,7 +267,7 @@ public slots:
|
||||
void setChaperoneVelocityModifierEnabled( bool value, bool notify = true );
|
||||
void setChaperoneVelocityModifier( float value, bool notify = true );
|
||||
|
||||
void flipOrientation();
|
||||
void flipOrientation( double degrees = 180 );
|
||||
void reloadFromDisk();
|
||||
|
||||
void addChaperoneProfile( QString name,
|
||||
|
||||
Reference in New Issue
Block a user