diff options
author | Omni <omniscient.oce@gmail.com> | 2024-06-23 18:18:35 +1000 |
---|---|---|
committer | Omni <omniscient.oce@gmail.com> | 2024-06-23 18:18:35 +1000 |
commit | 41a9e6d84e442cadbf1825c38bb97c516873ad5a (patch) | |
tree | cf63931f3ea7fb4fa418313bd5e587f87cd2889b /src/systems | |
parent | 0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df (diff) |
change view with keypress
Diffstat (limited to 'src/systems')
-rw-r--r-- | src/systems/keys.h | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/src/systems/keys.h b/src/systems/keys.h index a76e101..6082a59 100644 --- a/src/systems/keys.h +++ b/src/systems/keys.h @@ -3,10 +3,50 @@ typedef enum keycode { // TODO: add all keycodes KEYCODE_SPACE = 32, + KEYCODE_APOSTROPHE = 39, + KEYCODE_COMMA = 44, + KEYCODE_MINUS = 45, + KEYCODE_PERIOD = 46, + KEYCODE_SLASH = 47, + KEYCODE_0 = 48, + KEYCODE_1 = 49, + KEYCODE_2 = 50, + KEYCODE_3 = 51, + KEYCODE_4 = 52, + KEYCODE_5 = 53, + KEYCODE_6 = 54, + KEYCODE_7 = 55, + KEYCODE_8 = 56, + KEYCODE_9 = 57, + KEYCODE_SEMICOLON = 59, + KEYCODE_EQUAL = 61, KEYCODE_A = 65, + KEYCODE_B = 66, + KEYCODE_C = 67, KEYCODE_D = 68, + KEYCODE_E = 69, + KEYCODE_F = 70, + KEYCODE_G = 71, + KEYCODE_H = 72, + KEYCODE_I = 73, + KEYCODE_J = 74, + KEYCODE_K = 75, + KEYCODE_L = 76, + KEYCODE_M = 77, + KEYCODE_N = 78, + KEYCODE_O = 79, + KEYCODE_P = 80, + KEYCODE_Q = 81, + KEYCODE_R = 82, KEYCODE_S = 83, + KEYCODE_T = 84, + KEYCODE_U = 85, + KEYCODE_V = 86, KEYCODE_W = 87, + KEYCODE_X = 88, + KEYCODE_Y = 89, + KEYCODE_Z = 90, + KEYCODE_ESCAPE = 256, KEYCODE_ENTER = 257, KEYCODE_TAB = 258, @@ -16,4 +56,4 @@ typedef enum keycode { KEYCODE_KEY_DOWN = 264, KEYCODE_KEY_UP = 265, KEYCODE_MAX = 348 -} keycode;
\ No newline at end of file +} keycode; |