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:
@@ -302,7 +302,7 @@ bool SteamIVRInput::chaperoneToggle()
|
||||
|
||||
bool SteamIVRInput::proxState()
|
||||
{
|
||||
return isDigitalActionActivatedConstant( m_pushToTalk );
|
||||
return isDigitalActionActivatedConstant( m_proxSensor );
|
||||
}
|
||||
|
||||
bool SteamIVRInput::keyboardOne()
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace action_keys
|
||||
|
||||
constexpr auto hapticsLeft = "/actions/haptic/out/HapticsLeft";
|
||||
constexpr auto hapticsRight = "/actions/haptic/out/HapticsRight";
|
||||
constexpr auto proxSensor = "/actions/misc/in/ProxSensor";
|
||||
constexpr auto proxSensor = "/actions/haptic/in/ProxSensor";
|
||||
|
||||
constexpr auto chaperoneToggle = "/actions/misc/in/ChaperoneToggle";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user