Add bindings to keyboard shortcuts
The default binding for keyboardOne is the default combination
for muting on Discord. This was explicitly chosen as a use case, and it
might make people not have to tangle with creating custom
keybindings in the .ini file.
This commit is contained in:
@@ -49,6 +49,10 @@ namespace action_keys
|
||||
constexpr auto zAxisLockToggle = "/actions/misc/in/ZAxisLockToggle";
|
||||
constexpr auto pushToTalk = "/actions/misc/in/PushToTalk";
|
||||
|
||||
constexpr auto keyboardOne = "/actions/misc/in/KeyboardOne";
|
||||
constexpr auto keyboardTwo = "/actions/misc/in/KeyboardTwo";
|
||||
constexpr auto keyboardThree = "/actions/misc/in/KeyboardThree";
|
||||
|
||||
constexpr auto hapticsLeft = "/actions/haptic/out/HapticsLeft";
|
||||
constexpr auto hapticsRight = "/actions/haptic/out/HapticsRight";
|
||||
constexpr auto proxSensor = "/actions/misc/in/ProxSensor";
|
||||
@@ -139,6 +143,10 @@ public:
|
||||
|
||||
bool pushToTalk();
|
||||
|
||||
bool keyboardOne();
|
||||
bool keyboardTwo();
|
||||
bool keyboardThree();
|
||||
|
||||
vr::VRActionHandle_t leftHapticActionHandle();
|
||||
vr::VRActionHandle_t rightHapticActionHandle();
|
||||
|
||||
@@ -197,6 +205,11 @@ private:
|
||||
DigitalAction m_yAxisLockToggle;
|
||||
DigitalAction m_zAxisLockToggle;
|
||||
|
||||
// Keyboard Shortcuts
|
||||
DigitalAction m_keyboardOne;
|
||||
DigitalAction m_keyboardTwo;
|
||||
DigitalAction m_keyboardThree;
|
||||
|
||||
// Misc Bindings
|
||||
DigitalAction m_chaperoneToggle;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user