aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/win.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/win.c b/src/win.c
index e020b86..6838423 100644
--- a/src/win.c
+++ b/src/win.c
@@ -448,9 +448,9 @@ keySymToSpecial(const WPARAM sym, const bool ext)
case VK_RETURN: return PUGL_KEY_PAD_ENTER;
case VK_INSERT: return PUGL_KEY_INSERT;
case VK_DELETE: return PUGL_KEY_DELETE;
- case VK_SHIFT: return PUGL_KEY_SHIFT_L;
- case VK_CONTROL: return PUGL_KEY_CTRL_L;
- case VK_MENU: return PUGL_KEY_ALT_L;
+ case VK_SHIFT: return PUGL_KEY_SHIFT_R;
+ case VK_CONTROL: return PUGL_KEY_CTRL_R;
+ case VK_MENU: return PUGL_KEY_ALT_R;
}
// clang-format on
} else {
@@ -458,9 +458,9 @@ keySymToSpecial(const WPARAM sym, const bool ext)
switch (sym) {
case VK_INSERT: return PUGL_KEY_PAD_INSERT;
case VK_DELETE: return PUGL_KEY_PAD_DELETE;
- case VK_SHIFT: return PUGL_KEY_SHIFT_R;
- case VK_CONTROL: return PUGL_KEY_CTRL_R;
- case VK_MENU: return PUGL_KEY_ALT_R;
+ case VK_SHIFT: return PUGL_KEY_SHIFT_L;
+ case VK_CONTROL: return PUGL_KEY_CTRL_L;
+ case VK_MENU: return PUGL_KEY_ALT_L;
}
// clang-format on
}