commit | ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue Feb 11 14:28:48 2014 -0800 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Feb 11 14:43:19 2014 -0800 |
tree | 14c881e204f113307a474f613ea41f02e2ec37cc | |
parent | 0f0ccf07bad594b618f4fcce9a8f79a5bc188bb3 [diff] [blame] |
Add method to apply offset to PointerCoords. (DO NOT MERGE) Change-Id: I3dc2ba22b026e5b8e1c3d90f7366ec09a59ce6b6
diff --git a/include/input/Input.h b/include/input/Input.h index e778076..be79c59 100644 --- a/include/input/Input.h +++ b/include/input/Input.h
@@ -184,6 +184,7 @@ 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);