From 21957b9c6d731dc67067e702c644dc7f4c4ff48d Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Wed, 17 Jun 2015 21:06:54 +0100 Subject: Add method to set action button on MotionEvent Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d --- include/input/Input.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; } -- cgit v1.1