add F16-F24 keys
This commit is contained in:
parent
2751daf29f
commit
d4fad6402f
@ -131,6 +131,15 @@ Maybe<Key> keyFromSdlKeyCode(SDL_Keycode sym) {
|
|||||||
{SDLK_F13, Key::F13},
|
{SDLK_F13, Key::F13},
|
||||||
{SDLK_F14, Key::F14},
|
{SDLK_F14, Key::F14},
|
||||||
{SDLK_F15, Key::F15},
|
{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_NUMLOCKCLEAR, Key::NumLock},
|
||||||
{SDLK_CAPSLOCK, Key::CapsLock},
|
{SDLK_CAPSLOCK, Key::CapsLock},
|
||||||
{SDLK_SCROLLLOCK, Key::ScrollLock},
|
{SDLK_SCROLLLOCK, Key::ScrollLock},
|
||||||
|
@ -114,6 +114,15 @@ EnumMap<Key> const KeyNames{
|
|||||||
{Key::F13, "F13"},
|
{Key::F13, "F13"},
|
||||||
{Key::F14, "F14"},
|
{Key::F14, "F14"},
|
||||||
{Key::F15, "F15"},
|
{Key::F15, "F15"},
|
||||||
|
{Key::F16, "F16"},
|
||||||
|
{Key::F17, "F17"},
|
||||||
|
{Key::F18, "F18"},
|
||||||
|
{Key::F19, "F19"},
|
||||||
|
{Key::F20, "F20"},
|
||||||
|
{Key::F21, "F21"},
|
||||||
|
{Key::F22, "F22"},
|
||||||
|
{Key::F23, "F23"},
|
||||||
|
{Key::F24, "F24"},
|
||||||
{Key::NumLock, "NumLock"},
|
{Key::NumLock, "NumLock"},
|
||||||
{Key::CapsLock, "CapsLock"},
|
{Key::CapsLock, "CapsLock"},
|
||||||
{Key::ScrollLock, "ScrollLock"},
|
{Key::ScrollLock, "ScrollLock"},
|
||||||
|
@ -119,6 +119,15 @@ enum class Key : uint16_t {
|
|||||||
F13,
|
F13,
|
||||||
F14,
|
F14,
|
||||||
F15,
|
F15,
|
||||||
|
F16,
|
||||||
|
F17,
|
||||||
|
F18,
|
||||||
|
F19,
|
||||||
|
F20,
|
||||||
|
F21,
|
||||||
|
F22,
|
||||||
|
F23,
|
||||||
|
F24,
|
||||||
NumLock,
|
NumLock,
|
||||||
CapsLock,
|
CapsLock,
|
||||||
ScrollLock,
|
ScrollLock,
|
||||||
|
Loading…
Reference in New Issue
Block a user