From ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 11 Feb 2014 14:28:48 -0800 Subject: Add method to apply offset to PointerCoords. (DO NOT MERGE) Change-Id: I3dc2ba22b026e5b8e1c3d90f7366ec09a59ce6b6 --- include/input/Input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/input') 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); -- cgit v1.2.3-59-g8ed1b