summaryrefslogtreecommitdiff
path: root/include/input/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/input/Input.h')
-rw-r--r--include/input/Input.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index 3ca9c19876..dee3e7dcd0 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -258,6 +258,16 @@ enum class KeyState {
ftl_last = VIRTUAL,
};
+/**
+ * The keyboard type. This should have 1:1 correspondence with the values of anonymous enum
+ * defined in input.h
+ */
+enum class KeyboardType {
+ NONE = AINPUT_KEYBOARD_TYPE_NONE,
+ NON_ALPHABETIC = AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC,
+ ALPHABETIC = AINPUT_KEYBOARD_TYPE_ALPHABETIC,
+};
+
bool isStylusToolType(ToolType toolType);
struct PointerProperties;