diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-30 23:15:36 +1100 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-30 23:15:36 +1100 |
commit | f26f084958550cd01b9e4e4b098551520a4c6852 (patch) | |
tree | 1b835288f94461ba86aca8cff723d3364556db52 /src/systems/keys.h | |
parent | b4cb698d177ada97c976eab059eabedd433abfd0 (diff) | |
parent | c20740ecbb008afbe93c7fa1eb35851cedc6eb42 (diff) |
Merge branch 'cel-60-scaffold-vulkan' into cleanroom-vulkan
Diffstat (limited to 'src/systems/keys.h')
-rw-r--r-- | src/systems/keys.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/systems/keys.h b/src/systems/keys.h index 090bb49..a76e101 100644 --- a/src/systems/keys.h +++ b/src/systems/keys.h @@ -2,5 +2,18 @@ typedef enum keycode { // TODO: add all keycodes - KEYCODE_MAX + KEYCODE_SPACE = 32, + KEYCODE_A = 65, + KEYCODE_D = 68, + KEYCODE_S = 83, + KEYCODE_W = 87, + KEYCODE_ESCAPE = 256, + KEYCODE_ENTER = 257, + KEYCODE_TAB = 258, + KEYCODE_BACKSPACE = 259, + KEYCODE_KEY_RIGHT = 262, + KEYCODE_KEY_LEFT = 263, + KEYCODE_KEY_DOWN = 264, + KEYCODE_KEY_UP = 265, + KEYCODE_MAX = 348 } keycode;
\ No newline at end of file |