summaryrefslogtreecommitdiff
path: root/include/androidfw/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/androidfw/Input.h')
-rw-r--r--include/androidfw/Input.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/androidfw/Input.h b/include/androidfw/Input.h
index 2c91fab90357..e88835e8a523 100644
--- a/include/androidfw/Input.h
+++ b/include/androidfw/Input.h
@@ -49,6 +49,15 @@ enum {
};
enum {
+ /* Used when a motion event is not associated with any display.
+ * Typically used for non-pointer events. */
+ ADISPLAY_ID_NONE = -1,
+
+ /* The default display id. */
+ ADISPLAY_ID_DEFAULT = 0,
+};
+
+enum {
/*
* Indicates that an input device has switches.
* This input source flag is hidden from the API because switches are only used by the system