diff options
author | Michael Wright <michaelwr@google.com> | 2015-06-17 21:06:54 +0100 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2015-06-17 21:06:54 +0100 |
commit | 21957b9c6d731dc67067e702c644dc7f4c4ff48d (patch) | |
tree | f4425011d4176d4ef5355772dc3521b9d1fa0ccc | |
parent | 8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0 (diff) | |
download | frameworks_native-21957b9c6d731dc67067e702c644dc7f4c4ff48d.zip frameworks_native-21957b9c6d731dc67067e702c644dc7f4c4ff48d.tar.gz frameworks_native-21957b9c6d731dc67067e702c644dc7f4c4ff48d.tar.bz2 |
Add method to set action button on MotionEvent
Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d
-rw-r--r-- | include/input/Input.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 1da8356..4a67f47 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -383,6 +383,8 @@ public: inline int32_t getActionButton() const { return mActionButton; } + inline void setActionButton(int32_t button) { mActionButton = button; } + inline float getXOffset() const { return mXOffset; } inline float getYOffset() const { return mYOffset; } |