changeset 1356:043746302874

fix: compile with nim 2.2
author sam <sam@basx.dev>
date Wed, 30 Oct 2024 21:19:42 +0700
parents 67e8391ffc67
children b95d19124e90
files semicongine/rendering/platform/linux.nim
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/rendering/platform/linux.nim	Sat Oct 26 14:52:06 2024 +0700
+++ b/semicongine/rendering/platform/linux.nim	Wed Oct 30 21:19:42 2024 +0700
@@ -42,27 +42,27 @@
   24: Q,
   25: W,
   26: E,
-  27: R,
+  27: Key.R,
   28: T,
-  29: Y,
+  29: Key.Y,
   30: U,
   31: I,
-  32: O,
+  32: Key.O,
   33: P,
   38: A,
   39: S,
   40: D,
   41: Key.F,
-  42: G,
+  42: Key.G,
   43: H,
   44: J,
   45: K,
   46: L,
-  52: Z,
-  53: X,
+  52: Key.Z,
+  53: Key.X,
   54: C,
   55: V,
-  56: B,
+  56: Key.B,
   57: N,
   58: M,
   23: Tab,
@@ -88,8 +88,8 @@
   61: LetterRow3Extra3,
   111: Up,
   116: Down,
-  113: Left,
-  114: Right,
+  113: Key.Left,
+  114: Key.Right,
   112: PageUp,
   117: PageDown,
   110: Home,