diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-09-14 18:03:38 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-09-14 20:46:14 -0700 |
commit | b5764e066c3ba60261c2719b4f447904605bf779 (patch) | |
tree | d61e1403ba3b85783b8ad7e766c7aa366f6b62db /libs | |
parent | 5f4796449328aca94c52cfa7fd5bb9e4400a17a6 (diff) | |
download | frameworks_native-b5764e066c3ba60261c2719b4f447904605bf779.zip frameworks_native-b5764e066c3ba60261c2719b4f447904605bf779.tar.gz frameworks_native-b5764e066c3ba60261c2719b4f447904605bf779.tar.bz2 |
Input API review.
Drop currently unsupported input features.
Add documentation comments.
Change-Id: I407d2e1dd90c5ee82983a3ccf177430d35ee7592
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ui/InputReader.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ui/InputReader.cpp b/libs/ui/InputReader.cpp index 88084c0..783cbc4 100644 --- a/libs/ui/InputReader.cpp +++ b/libs/ui/InputReader.cpp @@ -325,9 +325,6 @@ InputDevice* InputReader::createDevice(int32_t deviceId, const String8& name, ui if (classes & INPUT_DEVICE_CLASS_DPAD) { keyboardSources |= AINPUT_SOURCE_DPAD; } - if (classes & INPUT_DEVICE_CLASS_GAMEPAD) { - keyboardSources |= AINPUT_SOURCE_GAMEPAD; - } if (keyboardSources != 0) { device->addMapper(new KeyboardInputMapper(device, |