diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-06-12 18:14:50 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-06-13 18:05:15 -0700 |
commit | b3a2d1330716812784aee91b6d6275764b5e4210 (patch) | |
tree | e7f97e16ba9076a77d64acd94ebb32ad0d9fbede /services/input/tests/InputReader_test.cpp | |
parent | 10e78c9df09378c7d1ef1be9a8c42659ccce1eb7 (diff) | |
download | frameworks_base-b3a2d1330716812784aee91b6d6275764b5e4210.zip frameworks_base-b3a2d1330716812784aee91b6d6275764b5e4210.tar.gz frameworks_base-b3a2d1330716812784aee91b6d6275764b5e4210.tar.bz2 |
Take advantage of updated linux/input.h kernel headers.
Change-Id: I72d2ef82de5c504d46b0cdb57aa43bbd0d769174
Diffstat (limited to 'services/input/tests/InputReader_test.cpp')
-rw-r--r-- | services/input/tests/InputReader_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/input/tests/InputReader_test.cpp b/services/input/tests/InputReader_test.cpp index d04c9e7..acda86b 100644 --- a/services/input/tests/InputReader_test.cpp +++ b/services/input/tests/InputReader_test.cpp @@ -481,7 +481,7 @@ public: } void addAbsoluteAxis(int32_t deviceId, int axis, - int32_t minValue, int32_t maxValue, int flat, int fuzz) { + int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) { Device* device = getDevice(deviceId); RawAbsoluteAxisInfo info; @@ -490,6 +490,7 @@ public: info.maxValue = maxValue; info.flat = flat; info.fuzz = fuzz; + info.resolution = resolution; device->absoluteAxes.add(axis, info); } |