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

summaryrefslogtreecommitdiff
path: root/source/core/StarInputEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarInputEvent.hpp')
-rw-r--r--source/core/StarInputEvent.hpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/source/core/StarInputEvent.hpp b/source/core/StarInputEvent.hpp
index e750efa..e8740b5 100644
--- a/source/core/StarInputEvent.hpp
+++ b/source/core/StarInputEvent.hpp
@@ -119,15 +119,6 @@ enum class Key : uint16_t {
F13,
F14,
F15,
- F16,
- F17,
- F18,
- F19,
- F20,
- F21,
- F22,
- F23,
- F24,
NumLock,
CapsLock,
ScrollLock,
@@ -146,7 +137,18 @@ enum class Key : uint16_t {
SysReq,
Pause,
Menu,
- Power
+ Power,
+ // can't have this where I want because canvases
+ // pass keycodes to Lua as a numeric code >:[
+ F16,
+ F17,
+ F18,
+ F19,
+ F20,
+ F21,
+ F22,
+ F23,
+ F24
};
extern EnumMap<Key> const KeyNames;