diff options
Diffstat (limited to 'include/input/Input.h')
-rw-r--r-- | include/input/Input.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index b067a6b..92b3d36 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -384,6 +384,12 @@ public: inline int32_t getButtonState() const { return mButtonState; } + inline int32_t setButtonState(int32_t buttonState) { mButtonState = buttonState; } + + 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; } @@ -537,6 +543,7 @@ public: int32_t deviceId, int32_t source, int32_t action, + int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, @@ -589,6 +596,7 @@ public: protected: int32_t mAction; + int32_t mActionButton; int32_t mFlags; int32_t mEdgeFlags; int32_t mMetaState; |