[HID] Allow shift in winkey input to toggle d-pad in addition to capslock.

This commit is contained in:
gibbed 2018-06-05 08:13:51 -05:00
parent 1409b9c565
commit 8d5d6c5a59
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ X_RESULT WinKeyInputDriver::GetState(uint32_t user_index,
int16_t thumb_ry = 0; int16_t thumb_ry = 0;
if (window_->has_focus()) { if (window_->has_focus()) {
if (IS_KEY_TOGGLED(VK_CAPITAL)) { if (IS_KEY_TOGGLED(VK_CAPITAL) || IS_KEY_DOWN(VK_SHIFT)) {
// dpad toggled // dpad toggled
if (IS_KEY_DOWN(0x41)) { if (IS_KEY_DOWN(0x41)) {
// A // A