summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-06-17 21:06:54 +0100
committerMichael Wright <michaelwr@google.com>2015-06-17 21:06:54 +0100
commit21957b9c6d731dc67067e702c644dc7f4c4ff48d (patch)
treef4425011d4176d4ef5355772dc3521b9d1fa0ccc /include
parent8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0 (diff)
downloadframeworks_native-21957b9c6d731dc67067e702c644dc7f4c4ff48d.zip
frameworks_native-21957b9c6d731dc67067e702c644dc7f4c4ff48d.tar.gz
frameworks_native-21957b9c6d731dc67067e702c644dc7f4c4ff48d.tar.bz2
Add method to set action button on MotionEvent
Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d
Diffstat (limited to 'include')
-rw-r--r--include/input/Input.h2
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; }