1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 03:32:01 +00:00

Merge pull request #127 from TomHarte/OricShift

Maps either Mac shift key to both Oric shifts
This commit is contained in:
Thomas Harte 2017-05-18 22:27:47 -04:00 committed by GitHub
commit a5099f69d8

View File

@ -118,10 +118,12 @@
case VK_ANSI_Comma: _oric.set_key_state(Oric::Key::KeyComma, isPressed); break;
case VK_ANSI_Period: _oric.set_key_state(Oric::Key::KeyFullStop, isPressed); break;
case VK_ANSI_Semicolon:
_oric.set_key_state(Oric::Key::KeySemiColon, isPressed); break;
case VK_ANSI_Semicolon: _oric.set_key_state(Oric::Key::KeySemiColon, isPressed); break;
case VK_Shift: _oric.set_key_state(Oric::Key::KeyLeftShift, isPressed); break;
case VK_Shift:
_oric.set_key_state(Oric::Key::KeyLeftShift, isPressed);
_oric.set_key_state(Oric::Key::KeyRightShift, isPressed);
break;
case VK_RightShift: _oric.set_key_state(Oric::Key::KeyRightShift, isPressed); break;
case VK_Control: _oric.set_key_state(Oric::Key::KeyControl, isPressed); break;