diff options
author | Chenglie He <chengjie.he@linaro.org> | 2012-03-26 08:52:59 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2012-03-26 08:52:59 +0530 |
commit | bf555dbcd67e0243b19e3604327bb24269219a86 (patch) | |
tree | ffb8736d3ce324a56bd48c6d90b945fc8f9698d4 | |
parent | 3cfd5564d2023a83c077212d6ddf8e1e65efbff1 (diff) |
GPIO keys supportlinaro_android_4.0.3linaro-ics
Change-Id: Ieb4a6466e777baa73187da56580089affa718a5e
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | device.mk | 2 | ||||
-rw-r--r-- | gpio-keys.kcm | 67 | ||||
-rw-r--r-- | gpio-keys.kl | 2 |
3 files changed, 6 insertions, 65 deletions
@@ -27,6 +27,8 @@ PRODUCT_COPY_FILES += \ device/linaro/origen/initlogo.rle:root/initlogo.rle \ device/linaro/common/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ device/linaro/origen/unidisplay_ts.idc:system/usr/idc/unidisplay_ts.idc \ + device/linaro/origen/gpio-keys.kcm:system/usr/keychars/gpio-keys.kcm \ + device/linaro/origen/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ device/linaro/common/wallpaper_info.xml:data/system/wallpaper_info.xml PRODUCT_COPY_FILES += \ diff --git a/gpio-keys.kcm b/gpio-keys.kcm index 8056364..674fca8 100644 --- a/gpio-keys.kcm +++ b/gpio-keys.kcm @@ -1,64 +1,3 @@ -[type=QWERTY] - -# keycode display number base caps fn caps_fn - -A 'A' '2' 'a' 'A' '#' 0x00 -B 'B' '2' 'b' 'B' '<' 0x00 -C 'C' '2' 'c' 'C' '9' 0x00E7 -D 'D' '3' 'd' 'D' '5' 0x00 -E 'E' '3' 'e' 'E' '2' 0x0301 -F 'F' '3' 'f' 'F' '6' 0x00A5 -G 'G' '4' 'g' 'G' '-' '_' -H 'H' '4' 'h' 'H' '[' '{' -I 'I' '4' 'i' 'I' '$' 0x0302 -J 'J' '5' 'j' 'J' ']' '}' -K 'K' '5' 'k' 'K' '"' '~' -L 'L' '5' 'l' 'L' ''' '`' -M 'M' '6' 'm' 'M' '!' 0x00 -N 'N' '6' 'n' 'N' '>' 0x0303 -O 'O' '6' 'o' 'O' '(' 0x00 -P 'P' '7' 'p' 'P' ')' 0x00 -Q 'Q' '7' 'q' 'Q' '*' 0x0300 -R 'R' '7' 'r' 'R' '3' 0x20AC -S 'S' '7' 's' 'S' '4' 0x00DF -T 'T' '8' 't' 'T' '+' 0x00A3 -U 'U' '8' 'u' 'U' '&' 0x0308 -V 'V' '8' 'v' 'V' '=' '^' -W 'W' '9' 'w' 'W' '1' 0x00 -X 'X' '9' 'x' 'X' '8' 0xEF00 -Y 'Y' '9' 'y' 'Y' '%' 0x00A1 -Z 'Z' '9' 'z' 'Z' '7' 0x00 - -# on pc keyboards -COMMA ',' ',' ',' ';' ';' '|' -PERIOD '.' '.' '.' ':' ':' 0x2026 -AT '@' '0' '@' '0' '0' 0x2022 -SLASH '/' '/' '/' '?' '?' '\' - -SPACE 0x20 0x20 0x20 0x20 0xEF01 0xEF01 -ENTER 0xa 0xa 0xa 0xa 0xa 0xa - -TAB 0x9 0x9 0x9 0x9 0x9 0x9 -0 '0' '0' '0' ')' ')' ')' -1 '1' '1' '1' '!' '!' '!' -2 '2' '2' '2' '@' '@' '@' -3 '3' '3' '3' '#' '#' '#' -4 '4' '4' '4' '$' '$' '$' -5 '5' '5' '5' '%' '%' '%' -6 '6' '6' '6' '^' '^' '^' -7 '7' '7' '7' '&' '&' '&' -8 '8' '8' '8' '*' '*' '*' -9 '9' '9' '9' '(' '(' '(' - -GRAVE '`' '`' '`' '~' '`' '~' -MINUS '-' '-' '-' '_' '-' '_' -EQUALS '=' '=' '=' '+' '=' '+' -LEFT_BRACKET '[' '[' '[' '{' '[' '{' -RIGHT_BRACKET ']' ']' ']' '}' ']' '}' -BACKSLASH '\' '\' '\' '|' '\' '|' -SEMICOLON ';' ';' ';' ':' ';' ':' -APOSTROPHE ''' ''' ''' '"' ''' '"' -STAR '*' '*' '*' '*' '*' '*' -POUND '#' '#' '#' '#' '#' '#' -PLUS '+' '+' '+' '+' '+' '+' - + +type SPECIAL_FUNCTION + diff --git a/gpio-keys.kl b/gpio-keys.kl index 1a16898..a388322 100644 --- a/gpio-keys.kl +++ b/gpio-keys.kl @@ -2,5 +2,5 @@ key 158 BACK WAKE_DROPPED key 139 MENU WAKE_DROPPED key 102 HOME WAKE key 116 ENDCALL WAKE_DROPPED -key 108 ROTATOR +#key 108 ROTATOR key 103 POWER WAKE |