# HG changeset patch # User sam # Date 1733305755 -25200 # Node ID 18fda25d5d5fc9493110de4d0037412b2412847f # Parent 76a2145cccbed459b183d723e87e40482e657b4b fix: same issue as earlier in linux, for nim 2.2 diff -r 76a2145cccbe -r 18fda25d5d5f semicongine/rendering/platform/windows.nim --- 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,