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

summaryrefslogtreecommitdiff
path: root/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'source/core')
-rw-r--r--source/core/StarInputEvent.cpp34
-rw-r--r--source/core/StarInputEvent.hpp34
2 files changed, 34 insertions, 34 deletions
diff --git a/source/core/StarInputEvent.cpp b/source/core/StarInputEvent.cpp
index e4b1e64..6a46d72 100644
--- a/source/core/StarInputEvent.cpp
+++ b/source/core/StarInputEvent.cpp
@@ -73,23 +73,23 @@ EnumMap<Key> const KeyNames{
{Key::Y, "Y"},
{Key::Z, "Z"},
{Key::Delete, "Del"},
- {Key::Kp0, "Kp0"},
- {Key::Kp1, "Kp1"},
- {Key::Kp2, "Kp2"},
- {Key::Kp3, "Kp3"},
- {Key::Kp4, "Kp4"},
- {Key::Kp5, "Kp5"},
- {Key::Kp6, "Kp6"},
- {Key::Kp7, "Kp7"},
- {Key::Kp8, "Kp8"},
- {Key::Kp9, "Kp9"},
- {Key::Kp_period, "Kp_period"},
- {Key::Kp_divide, "Kp_divide"},
- {Key::Kp_multiply, "Kp_multiply"},
- {Key::Kp_minus, "Kp_minus"},
- {Key::Kp_plus, "Kp_plus"},
- {Key::Kp_enter, "Kp_enter"},
- {Key::Kp_equals, "Kp_equals"},
+ {Key::Keypad0, "Keypad 0"},
+ {Key::Keypad1, "Keypad 1"},
+ {Key::Keypad2, "Keypad 2"},
+ {Key::Keypad3, "Keypad 3"},
+ {Key::Keypad4, "Keypad 4"},
+ {Key::Keypad5, "Keypad 5"},
+ {Key::Keypad6, "Keypad 6"},
+ {Key::Keypad7, "Keypad 7"},
+ {Key::Keypad8, "Keypad 8"},
+ {Key::Keypad9, "Keypad 9"},
+ {Key::KeypadPeriod, "Keypad ."},
+ {Key::KeypadDivide, "Keypad /"},
+ {Key::KeypadMultiply, "Keypad *"},
+ {Key::KeypadMinus, "Keypad -"},
+ {Key::KeypadPlus, "Keypad +"},
+ {Key::KeypadEnter, "Keypad Enter"},
+ {Key::KeypadEquals, "Keypad ="},
{Key::Up, "Up"},
{Key::Down, "Down"},
{Key::Right, "Right"},
diff --git a/source/core/StarInputEvent.hpp b/source/core/StarInputEvent.hpp
index e8740b5..cace466 100644
--- a/source/core/StarInputEvent.hpp
+++ b/source/core/StarInputEvent.hpp
@@ -78,23 +78,23 @@ enum class Key : uint16_t {
Y,
Z,
Delete,
- Kp0,
- Kp1,
- Kp2,
- Kp3,
- Kp4,
- Kp5,
- Kp6,
- Kp7,
- Kp8,
- Kp9,
- Kp_period,
- Kp_divide,
- Kp_multiply,
- Kp_minus,
- Kp_plus,
- Kp_enter,
- Kp_equals,
+ Keypad0,
+ Keypad1,
+ Keypad2,
+ Keypad3,
+ Keypad4,
+ Keypad5,
+ Keypad6,
+ Keypad7,
+ Keypad8,
+ Keypad9,
+ KeypadPeriod,
+ KeypadDivide,
+ KeypadMultiply,
+ KeypadMinus,
+ KeypadPlus,
+ KeypadEnter,
+ KeypadEquals,
Up,
Down,
Right,