Mercurial > games > semicongine
comparison src/platform/linux/symkey_map.nim @ 12:9e5fe647ff91
did: cleanup up a bit
author | Sam <sam@basx.dev> |
---|---|
date | Tue, 27 Dec 2022 20:47:48 +0700 |
parents | 4ed9cb098315 |
children |
comparison
equal
deleted
inserted
replaced
11:3415afff1d1a | 12:9e5fe647ff91 |
---|---|
1 import std/tables | 1 import std/tables |
2 export tables | 2 export tables |
3 | 3 |
4 import x11/keysym | 4 import x11/keysym |
5 import x11/x | 5 # import x11/x |
6 | 6 |
7 import ../../events | 7 import ../../events |
8 | 8 |
9 const KeyTypeMap* = { | 9 const KeyTypeMap* = { |
10 XK_A: A, XK_B: B, XK_C: C, XK_D: D, XK_E: E, XK_F: F, XK_G: G, XK_H: H, XK_I: I, XK_J: J, XK_K: K, XK_L: L, XK_M: M, XK_N: N, XK_O: O, XK_P: P, XK_Q: Q, XK_R: R, XK_S: S, XK_T: T, XK_U: U, XK_V: V, XK_W: W, XK_X: X, XK_Y: Y, XK_Z: Z, | 10 XK_A: A, XK_B: B, XK_C: C, XK_D: D, XK_E: E, XK_F: F, XK_G: G, XK_H: H, XK_I: I, XK_J: J, XK_K: K, XK_L: L, XK_M: M, XK_N: N, XK_O: O, XK_P: P, XK_Q: Q, XK_R: R, XK_S: S, XK_T: T, XK_U: U, XK_V: V, XK_W: W, XK_X: X, XK_Y: Y, XK_Z: Z, |