summaryrefslogtreecommitdiff
path: root/libs/ui/InputReader.cpp
diff options
context:
space:
mode:
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
commitb5764e066c3ba60261c2719b4f447904605bf779 (patch)
treed61e1403ba3b85783b8ad7e766c7aa366f6b62db /libs/ui/InputReader.cpp
parent5f4796449328aca94c52cfa7fd5bb9e4400a17a6 (diff)
Input API review.
Drop currently unsupported input features. Add documentation comments. Change-Id: I407d2e1dd90c5ee82983a3ccf177430d35ee7592
Diffstat (limited to 'libs/ui/InputReader.cpp')
-rw-r--r--libs/ui/InputReader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ui/InputReader.cpp b/libs/ui/InputReader.cpp
index 88084c019c..783cbc4275 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,