Keyboard Press Feature and Version String Updated (#464)

* added two new keyboard press actions

* added todos to overlay controller for new actions

* added settings for keyboard press and default to f10

* added logic, fixed default value

* added action alias

* fixed center marker rotation count

* updated version strings

* fixed Trigger Condition

* removed literal limitation (character input)

* updated version string

* fixed white space issues
This commit is contained in:
ykeara
2020-06-04 11:17:58 -05:00
committed by GitHub
parent e1e4933fb3
commit 8c2af7477c
9 changed files with 97 additions and 3 deletions
+11
View File
@@ -138,6 +138,8 @@ SteamIVRInput::SteamIVRInput()
m_keyboardOne( action_keys::keyboardOne ),
m_keyboardTwo( action_keys::keyboardTwo ),
m_keyboardThree( action_keys::keyboardThree ),
m_keyboardPressOne( action_keys::keyboardPressOne ),
m_keyboardPressTwo( action_keys::keyboardPressTwo ),
m_chaperoneToggle( action_keys::chaperoneToggle ),
m_pushToTalk( action_keys::pushToTalk ),
m_leftHaptic( action_keys::hapticsLeft ),
@@ -349,6 +351,15 @@ bool SteamIVRInput::keyboardThree()
{
return isDigitalActionActivatedOnce( m_keyboardThree );
}
bool SteamIVRInput::keyboardPressOne()
{
return isDigitalActionActivatedConstant( m_keyboardPressOne );
}
bool SteamIVRInput::keyboardPressTwo()
{
return isDigitalActionActivatedConstant( m_keyboardPressTwo );
}
/*!
Returns the action handle of the Left Haptic Action
*/