changeset 1370:18fda25d5d5f

fix: same issue as earlier in linux, for nim 2.2
author sam <sam@basx.dev>
date Wed, 04 Dec 2024 16:49:15 +0700
parents 76a2145cccbe
children 7427925a4246
files semicongine/rendering/platform/windows.nim
diffstat 1 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/rendering/platform/windows.nim	Mon Nov 25 11:21:04 2024 +0700
+++ b/semicongine/rendering/platform/windows.nim	Wed Dec 04 16:49:15 2024 +0700
@@ -38,31 +38,31 @@
   VK_OEM_MINUS: NumberRowExtra2,
   VK_OEM_PLUS: NumberRowExtra3,
   int('A'): A,
-  int('B'): B,
+  int('B'): Key.B,
   int('C'): C,
   int('D'): D,
   int('E'): E,
   int('F'): F,
-  int('G'): G,
+  int('G'): Key.G,
   int('H'): H,
   int('I'): I,
   int('J'): J,
   int('K'): K,
-  int('L'): L,
+  int('L'): Key.L,
   int('M'): M,
   int('N'): N,
-  int('O'): O,
+  int('O'): Key.O,
   int('P'): P,
   int('Q'): Q,
-  int('R'): R,
+  int('R'): Key.R,
   int('S'): S,
-  int('T'): T,
+  int('T'): Key.T,
   int('U'): U,
   int('V'): V,
   int('W'): W,
-  int('X'): X,
-  int('Y'): Y,
-  int('Z'): Z,
+  int('X'): Key.X,
+  int('Y'): Key.Y,
+  int('Z'): Key.Z,
   VK_TAB: Tab,
   VK_CAPITAL: CapsLock,
   VK_LSHIFT: ShiftL,
@@ -88,8 +88,8 @@
   VK_OEM_2: LetterRow3Extra3,
   VK_UP: Up,
   VK_DOWN: Down,
-  VK_LEFT: Left,
-  VK_RIGHT: Right,
+  VK_LEFT: Key.Left,
+  VK_RIGHT: Key.Right,
   VK_PRIOR: PageUp,
   VK_NEXT: PageDown,
   VK_HOME: Home,