From 9398b6c2c8faf638bc06b6c2296284d84b72cc5b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 18 May 2017 22:25:59 -0400 Subject: [PATCH] Unable to differentiate, decided to map a Mac shift key to both Oric shifts. --- OSBindings/Mac/Clock Signal/Machine/Wrappers/CSOric.mm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OSBindings/Mac/Clock Signal/Machine/Wrappers/CSOric.mm b/OSBindings/Mac/Clock Signal/Machine/Wrappers/CSOric.mm index c2f38479d..4680b4464 100644 --- a/OSBindings/Mac/Clock Signal/Machine/Wrappers/CSOric.mm +++ b/OSBindings/Mac/Clock Signal/Machine/Wrappers/CSOric.mm @@ -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;