summaryrefslogtreecommitdiffstats
path: root/core/os/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/keyboard.h')
-rw-r--r--core/os/keyboard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/os/keyboard.h b/core/os/keyboard.h
index 785972d31d..2051973336 100644
--- a/core/os/keyboard.h
+++ b/core/os/keyboard.h
@@ -260,6 +260,12 @@ enum class KeyModifierMask {
GROUP_SWITCH = (1 << 30)
};
+enum class KeyLocation {
+ UNSPECIFIED,
+ LEFT,
+ RIGHT
+};
+
// To avoid having unnecessary operators, only define the ones that are needed.
constexpr Key operator-(uint32_t a, Key b) {