From e938acb846807568481068c9338144e0314a15da Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 5 Aug 2021 20:33:35 +0200 Subject: Fix modifiers key on windows --- include/window.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/window.hpp') diff --git a/include/window.hpp b/include/window.hpp index a21a27b..07753df 100644 --- a/include/window.hpp +++ b/include/window.hpp @@ -35,8 +35,10 @@ class vkrenderer; // TODO improve this #if defined(WINDOWS) enum KEYS: uint32_t { - SHIFT = 0x10, - CTRL, + LSHIFT = 0x10, + RSHIFT = 0x10, + LCTRL = 0x11, + RCTRL = 0x11, ALT, SPACE = 0x20, A = 0x41, @@ -65,8 +67,6 @@ enum KEYS: uint32_t { X, Y, Z, - LSHIFT = 0xA0, - RSHIFT, MAX_KEYS = 255 }; #else -- cgit v1.3