summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-01-15 18:14:15 -0800
committerJeff Brown <jeffbrown@google.com>2011-01-17 13:51:00 -0800
commitcb1404e45639d20439d7700b06d57ca1a1aad1fa (patch)
tree1d9bb7c58ea0a9ae36c242602fca59d343e8a0cd /include/ui
parente0dfee2b7075c1eac0db08d79d47381693d2f125 (diff)
downloadframeworks_base-cb1404e45639d20439d7700b06d57ca1a1aad1fa.zip
frameworks_base-cb1404e45639d20439d7700b06d57ca1a1aad1fa.tar.gz
frameworks_base-cb1404e45639d20439d7700b06d57ca1a1aad1fa.tar.bz2
Add joystick support to framework.
Change-Id: I95374436708752e1a9cff3f85c5b9bc3e0987961
Diffstat (limited to 'include/ui')
-rwxr-xr-xinclude/ui/KeycodeLabels.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h
index 9b1a897..dbccf29 100755
--- a/include/ui/KeycodeLabels.h
+++ b/include/ui/KeycodeLabels.h
@@ -212,6 +212,22 @@ static const KeycodeLabel KEYCODES[] = {
{ "PROG_YELLOW", 185 },
{ "PROG_BLUE", 186 },
{ "APP_SWITCH", 187 },
+ { "BUTTON_1", 188 },
+ { "BUTTON_2", 189 },
+ { "BUTTON_3", 190 },
+ { "BUTTON_4", 191 },
+ { "BUTTON_5", 192 },
+ { "BUTTON_6", 193 },
+ { "BUTTON_7", 194 },
+ { "BUTTON_8", 195 },
+ { "BUTTON_9", 196 },
+ { "BUTTON_10", 197 },
+ { "BUTTON_11", 198 },
+ { "BUTTON_12", 199 },
+ { "BUTTON_13", 200 },
+ { "BUTTON_14", 201 },
+ { "BUTTON_15", 202 },
+ { "BUTTON_16", 203 },
// NOTE: If you add a new keycode here you must also add it to several other files.
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.