summaryrefslogtreecommitdiffstats
path: root/libs/ui
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-16 12:57:56 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-16 12:57:56 -0700
commit24326f7223275ba9c85014b86d42040e3a7d2815 (patch)
tree6695aa7ef061a827c88956806d892ea09c70fc7c /libs/ui
parentb9eb949bcae977a3f86e8307f3854f157227c34c (diff)
parentdc1ab4b5cc274b7d744c11a939bb5910becec5e0 (diff)
downloadframeworks_base-24326f7223275ba9c85014b86d42040e3a7d2815.zip
frameworks_base-24326f7223275ba9c85014b86d42040e3a7d2815.tar.gz
frameworks_base-24326f7223275ba9c85014b86d42040e3a7d2815.tar.bz2
Merge "Input API review." into gingerbread
Diffstat (limited to 'libs/ui')
-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 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,