[Android Software/Hacking General [Developers Only]] rpmccormick:
Keyboard Layout!

Ok people, I fully documented this new keyboard layout for easy editing.

#------------------------------------------------------------------------------
# ZT-180 Keyboard Definition File
# Author: Ryan P. McCormick (rpmccormick)
# If you add key #'s to this file, please email it to me (name above @ gmail)
#
#------------------------------------------------------------------------------
# Commands
#------------------------------------------------------------------------------
#MENU WAKE_DROPPED (Menu)
#HOME WAKE (Home, Hold for RecentApps)
#BACK WAKE_DROPPED (Back)
#CALL WAKE_DROPPED (Launch Call Log)
#ENDCALL WAKE_DROPPED (Power Off Popup... Should Turn Off Screen! Doesn't Listen to "End Button Behavior" setting in SpareParts.
#POWER WAKE (Power Off Popup)
#VOLUME_UP (Vol+)
#VOLUME_DOWN (Vol-)
#SEARCH WAKE_DROPPED (Bring Up Search Bar)
#SYM (Input Method Popup)
#
#SOFT_RIGHT WAKE (Nothing?)
#TAB (Nothing?)
#EXPLORER (Nothing?)
#ENVELOPE (Nothing?)
#CAMERA (Nothing?)
#
#DPAD_CENTER WAKE_DROPPED
#DPAD_DOWN WAKE_DROPPED (Cursor Down)
#DPAD_UP WAKE_DROPPED (Cursor Up)
#DPAD_LEFT WAKE_DROPPED (Cursor Left)
#DPAD_RIGHT WAKE_DROPPED (Cursor Right)
#{1-0} ({1-0})
#{A-Z} ({a-z})
#ALT_LEFT ({Left ALT})
#ALT_RIGHT ({Right ALT})
#SHIFT_LEFT ({Left SHIFT})
#SHIFT_RIGHT ({Right SHIFT})
#ENTER ({Enter})
#DEL ({Delete})
#SPACE ( )
#MINUS (-)
#EQUALS (=)
#POUND (#)
#STAR (*)
#AT (@)
#GRAVE (`)
#SEMICOLON (;)
#APOSTROPHE (')
#COMMA (,)
#PERIOD (.)
#SLASH (/)
#BACKSLASH (\)
#LEFT_BRACKET ([)
#RIGHT_BRACKET (])
#------------------------------------------------------------------------------

#--------------------------------
# Hard Buttons
#--------------------------------

#BIG ROUND BUTTON
#Works Correctly
key 158 BACK WAKE

#POWER BUTTON (NOTE: Key is always HELD when pressed!)
key 116 POWER WAKE

#VOLUME DOWN - Towards Power Button (NOTE: Works Correctly)
key 59 MENU WAKE_DROPPED

#VOLUME UP - Towards Corner (NOTE: Key is always HELD when pressed!)
key 102 HOME WAKE_DROPPED

#--------------------------------
# USB Keyboard
#--------------------------------

#NOTE: key 102 (Volume Up HW Button above) is also keyboard HOME key.

#END
key 107 BACK WAKE_DROPPED

#Left Control.
key 29 MENU WAKE

#SYSMENU (Windows Right-Click Key)
key 127 SEARCH WAKE_DROPPED

#Num-Pad {*}
key 55 STAR

#USB Media Keyboard Buttons
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 217 SEARCH WAKE_DROPPED

#Unknown Except 155 Which is EMail Media Key
key 150 EXPLORER
key 155 ENVELOPE
key 212 CAMERA
key 215 AT
key 227 STAR
key 228 POUND
key 230 SOFT_RIGHT WAKE
key 231 CALL WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
#key 41 #I saw this assign to Num-Lock once?

#--------------------------------

#ESC - F10
key 1 BACK WAKE_DROPPED
key 139 HOME WAKE_DROPPED
key 60 MENU WAKE_DROPPED
key 61 SEARCH WAKE_DROPPED
key 62 SYM
key 63 CALL WAKE_DROPPED
key 64 HOME WAKE_DROPPED
key 65 BACK WAKE_DROPPED
key 66 ENDCALL WAKE_DROPPED
key 67 VOLUME_DOWN
key 68 VOLUME_UP

#{'} - B_S
key 399 GRAVE
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 12 MINUS
key 13 EQUALS
key 14 DEL

#TAB - RET (Instead of {\})
key 15 TAB
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 28 ENTER

#{A} - {'}
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 39 SEMICOLON
key 40 APOSTROPHE

#L_S - R_S
key 42 SHIFT_LEFT
key 43 BACKSLASH
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 53 SLASH
key 54 SHIFT_RIGHT

#L_A - R_A
key 56 ALT_LEFT
key 57 SPACE
key 100 ALT_RIGHT

#Arrow-Keys
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED

adb connect {ip}:5555

adb remount

adb push qwerty.kl /system/usr/keylayout