diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/androidfw/Input.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/androidfw/Input.h b/include/androidfw/Input.h index 2c91fab..e88835e 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 |