summaryrefslogtreecommitdiff
path: root/include/input
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2014-02-12 00:26:19 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2014-02-12 00:26:19 +0000
commiteac45b8a53e8a17b6c9a1e7bb69a8a791073c007 (patch)
treecb99204ac4117e18a3a4d1cc6bc30867713bbdf8 /include/input
parent6e5fdb1551ca7d117bf7e1acca133a077a8701f0 (diff)
parented4d28dd70448b13eb74a3166ec8d1c1a530e2d4 (diff)
am ed4d28dd: Add method to apply offset to PointerCoords. (DO NOT MERGE)
* commit 'ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4': Add method to apply offset to PointerCoords. (DO NOT MERGE)
Diffstat (limited to 'include/input')
-rw-r--r--include/input/Input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index e77807634d..be79c59207 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -184,6 +184,7 @@ struct PointerCoords {
status_t setAxisValue(int32_t axis, float value);
void scale(float scale);
+ void applyOffset(float xOffset, float yOffset);
inline float getX() const {
return getAxisValue(AMOTION_EVENT_AXIS_X);