Commit 2aa14b380626e0207c3decb83b84e18bf54bb74f

Cacodemon345 2021-05-19T14:24:58

Add missing key to WSCONS-to-SDL conversion table

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/core/openbsd/SDL_wscons_kbd.c b/src/core/openbsd/SDL_wscons_kbd.c
index 23c8bd0..8d62a6c 100644
--- a/src/core/openbsd/SDL_wscons_kbd.c
+++ b/src/core/openbsd/SDL_wscons_kbd.c
@@ -255,6 +255,7 @@ static struct wscons_keycode_to_SDL {
     {KS_Num_Lock, SDL_SCANCODE_NUMLOCKCLEAR},
     {KS_Caps_Lock, SDL_SCANCODE_CAPSLOCK},
     {KS_BackSpace, SDL_SCANCODE_BACKSPACE},
+    {KS_space, SDL_SCANCODE_SPACE},
     {KS_Delete, SDL_SCANCODE_BACKSPACE},
     {KS_Home, SDL_SCANCODE_HOME},
     {KS_End, SDL_SCANCODE_END},