Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application/StarMainApplication_sdl.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-07-12 08:09:06 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-07-12 08:09:06 +1000
commitd4fad6402f08f00adf026fa236a33ed302ca788a (patch)
treed2aeffaf96dce0daa70b999d5096bf80e79fb776 /source/application/StarMainApplication_sdl.cpp
parent2751daf29fd319c1db2fc446a438d8634c2c363f (diff)
add F16-F24 keys
Diffstat (limited to 'source/application/StarMainApplication_sdl.cpp')
-rw-r--r--source/application/StarMainApplication_sdl.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/application/StarMainApplication_sdl.cpp b/source/application/StarMainApplication_sdl.cpp
index d6cea76..c697a26 100644
--- a/source/application/StarMainApplication_sdl.cpp
+++ b/source/application/StarMainApplication_sdl.cpp
@@ -131,6 +131,15 @@ Maybe<Key> keyFromSdlKeyCode(SDL_Keycode sym) {
{SDLK_F13, Key::F13},
{SDLK_F14, Key::F14},
{SDLK_F15, Key::F15},
+ {SDLK_F16, Key::F16},
+ {SDLK_F17, Key::F17},
+ {SDLK_F18, Key::F18},
+ {SDLK_F19, Key::F19},
+ {SDLK_F20, Key::F20},
+ {SDLK_F21, Key::F21},
+ {SDLK_F22, Key::F22},
+ {SDLK_F23, Key::F23},
+ {SDLK_F24, Key::F24},
{SDLK_NUMLOCKCLEAR, Key::NumLock},
{SDLK_CAPSLOCK, Key::CapsLock},
{SDLK_SCROLLLOCK, Key::ScrollLock},