summaryrefslogtreecommitdiffstats
path: root/include/ui/InputReader.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-08-10 15:47:53 -0700
committerJeff Brown <jeffbrown@google.com>2010-08-10 16:28:03 -0700
commit8d4dfd25f7329d0cdcc8dda8bdfadd7ebec3b3a4 (patch)
tree612c8b89cfedc86434c5a9532a66ac29db8d9f48 /include/ui/InputReader.h
parent81a5c091ca967401a354be73222f0d36360352c2 (diff)
downloadframeworks_native-8d4dfd25f7329d0cdcc8dda8bdfadd7ebec3b3a4.zip
frameworks_native-8d4dfd25f7329d0cdcc8dda8bdfadd7ebec3b3a4.tar.gz
frameworks_native-8d4dfd25f7329d0cdcc8dda8bdfadd7ebec3b3a4.tar.bz2
Fix safe mode and KeyEvent.getMaxKeyCode().
Bug: 2901731 Change-Id: I78617c1b9dee3790fc590e5af4b5083368873184
Diffstat (limited to 'include/ui/InputReader.h')
-rw-r--r--include/ui/InputReader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h
index f162231..71c6c51 100644
--- a/include/ui/InputReader.h
+++ b/include/ui/InputReader.h
@@ -454,6 +454,8 @@ public:
virtual void reset();
virtual void process(const RawEvent* rawEvent);
+ virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode);
+
private:
// Amount that trackball needs to move in order to generate a key event.
static const int32_t TRACKBALL_MOVEMENT_THRESHOLD = 6;