summaryrefslogtreecommitdiffstats
path: root/include/ui/EventHub.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-12-23 17:50:18 -0800
committerJeff Brown <jeffbrown@google.com>2010-12-29 13:19:53 -0800
commit83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4 (patch)
treec8bc2824e0d2e2b353b3d16ecf5836ab8fd9e67c /include/ui/EventHub.h
parentdd830c21149c336139b28560c0e6fba9f3d0e0fc (diff)
downloadframeworks_base-83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4.zip
frameworks_base-83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4.tar.gz
frameworks_base-83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4.tar.bz2
Add initial support for cursor-based pointing devices.
Some parts stubbed out but you can plug in a mouse and move a green cursor around to interact with the UI. Change-Id: I80d597a7f11d3bd92041890f74b3c77326975e6e
Diffstat (limited to 'include/ui/EventHub.h')
-rw-r--r--include/ui/EventHub.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/EventHub.h b/include/ui/EventHub.h
index 6c6c297..8f922a5 100644
--- a/include/ui/EventHub.h
+++ b/include/ui/EventHub.h
@@ -109,8 +109,8 @@ enum {
/* The input device is a touchscreen (either single-touch or multi-touch). */
INPUT_DEVICE_CLASS_TOUCHSCREEN = 0x00000004,
- /* The input device is a trackball. */
- INPUT_DEVICE_CLASS_TRACKBALL = 0x00000008,
+ /* The input device is a cursor device such as a trackball or mouse. */
+ INPUT_DEVICE_CLASS_CURSOR = 0x00000008,
/* The input device is a multi-touch touchscreen. */
INPUT_DEVICE_CLASS_TOUCHSCREEN_MT= 0x00000010,