aboutsummaryrefslogtreecommitdiff
path: root/sdl2/keyboard.ha
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2022-04-21 11:52:47 +0200
committerDrew DeVault <sir@cmpwn.com>2022-04-21 11:52:47 +0200
commitf741ea6388b09d321eb42dcaf3d74918b80db6cf (patch)
treedd80e9e8f01a24fd423a756fab18ce849f80d016 /sdl2/keyboard.ha
parentRename SDL_GameControllerBUtton to SDL_GameControllerButton (diff)
downloadhare-chip8-f741ea6388b09d321eb42dcaf3d74918b80db6cf.tar.gz
Use def for SDL_INIT_*
Diffstat (limited to '')
-rw-r--r--sdl2/keyboard.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/keyboard.ha b/sdl2/keyboard.ha
index 97b0a21..eb38afd 100644
--- a/sdl2/keyboard.ha
+++ b/sdl2/keyboard.ha
@@ -419,7 +419,7 @@ export type SDL_Keycode = enum uint {
y = 'y',
z = 'z',
- CAPSLOCK = SDL_Scancode::CAPSLOCK | 1: SDL_Scancode << 30,
+ CAPSLOCK = SDL_Scancode::CAPSLOCK | 1: SDL_Scancode << 30: SDL_Scancode,
F1 = SDL_Scancode::F1 | 1: SDL_Scancode << 30,
F2 = SDL_Scancode::F2 | 1: SDL_Scancode << 30,