diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-17 18:50:05 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-04-17 18:50:05 -0700 |
commit | 4a3862f6b0a8971b6ab5b1c46735b28e7604d0db (patch) | |
tree | 4091176054868659d2fa6bec36540f56c08bd116 /packages/InputDevices/res | |
parent | 6ec6f79e1ac1714e3b837796e99f07ff88f66601 (diff) | |
download | frameworks_base-4a3862f6b0a8971b6ab5b1c46735b28e7604d0db.zip frameworks_base-4a3862f6b0a8971b6ab5b1c46735b28e7604d0db.tar.gz frameworks_base-4a3862f6b0a8971b6ab5b1c46735b28e7604d0db.tar.bz2 |
Add Dvorak keyboard layout.
Added support for mapping both scan codes and HID usages to
KeyLayoutMap and KeyCharacterMap. Keyboard overlays can
now influence how key events are mapped to key codes.
Bug: 6110399
Change-Id: I6619fd2d3e1337c55928f89869dbc45b535c7ccf
Diffstat (limited to 'packages/InputDevices/res')
-rw-r--r-- | packages/InputDevices/res/raw/keyboard_layout_english_us_dvorak.kcm | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/packages/InputDevices/res/raw/keyboard_layout_english_us_dvorak.kcm b/packages/InputDevices/res/raw/keyboard_layout_english_us_dvorak.kcm index b5bf2ef..a2d110e 100644 --- a/packages/InputDevices/res/raw/keyboard_layout_english_us_dvorak.kcm +++ b/packages/InputDevices/res/raw/keyboard_layout_english_us_dvorak.kcm @@ -19,10 +19,38 @@ type OVERLAY -# Test -key A { - label: 'X' - base: 'x' - shift, capslock: 'X' - ctrl, alt, meta: none -} +map key 12 LEFT_BRACKET +map key 13 RIGHT_BRACKET +map key 16 APOSTROPHE +map key 17 COMMA +map key 18 PERIOD +map key 19 P +map key 20 Y +map key 21 F +map key 22 G +map key 23 C +map key 24 R +map key 25 L +map key 26 SLASH +map key 27 EQUALS +map key 30 A +map key 31 O +map key 32 E +map key 33 U +map key 34 I +map key 35 D +map key 36 H +map key 37 T +map key 38 N +map key 39 S +map key 40 MINUS +map key 44 SEMICOLON +map key 45 Q +map key 46 J +map key 47 K +map key 48 X +map key 49 B +map key 50 M +map key 51 W +map key 52 V +map key 53 Z |