diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-02-11 14:28:48 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2014-02-11 14:51:24 -0800 |
commit | f086ddbb97e59bd4a0c27745f6e6cc9832a2d4f8 (patch) | |
tree | d8194be1e44bdaead6cc6751191f8d09379163d4 /include/input | |
parent | 297097957f5023b73b2c5c369d0c02cbebd20fa5 (diff) | |
download | frameworks_native-f086ddbb97e59bd4a0c27745f6e6cc9832a2d4f8.zip frameworks_native-f086ddbb97e59bd4a0c27745f6e6cc9832a2d4f8.tar.gz frameworks_native-f086ddbb97e59bd4a0c27745f6e6cc9832a2d4f8.tar.bz2 |
Add support for injecting events into ActivityContainers.
Enhanced the input system to support concurrent dispatch of touch
events on multiple displays which is required for this to work.
Add method to apply offset to PointerCoords.
Change-Id: I55fe4a9a8785ae5a2d3341d214fa3c5107f3963a
Diffstat (limited to 'include/input')
-rw-r--r-- | include/input/Input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 37f3b72..ea9c4c2 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -212,6 +212,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); |