Loading packages/InputDevices/res/raw/keyboard_layout_english_us_colemak.kcm 0 → 100644 +329 −0 Original line number Diff line number Diff line # Copyright (C) 2012 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # English (US), Colemak keyboard layout. # Unlike the default (generic) keyboard layout, English (US) does not contain any # special ALT characters. # type OVERLAY map key 18 F map key 19 P map key 20 G map key 21 J map key 22 L map key 23 U map key 24 Y map key 25 SEMICOLON map key 31 R map key 32 S map key 33 T map key 34 D map key 36 N map key 37 E map key 38 I map key 39 O map key 49 K ### ROW 1 key GRAVE { label: '`' base: '`' shift: '~' } key 1 { label: '1' base: '1' shift: '!' } key 2 { label: '2' base: '2' shift: '@' } key 3 { label: '3' base: '3' shift: '#' } key 4 { label: '4' base: '4' shift: '$' } key 5 { label: '5' base: '5' shift: '%' } key 6 { label: '6' base: '6' shift: '^' } key 7 { label: '7' base: '7' shift: '&' } key 8 { label: '8' base: '8' shift: '*' } key 9 { label: '9' base: '9' shift: '(' } key 0 { label: '0' base: '0' shift: ')' } key MINUS { label: '-' base: '-' shift: '_' } key EQUALS { label: '=' base: '=' shift: '+' } ### ROW 2 key Q { label: 'Q' base: 'q' shift, capslock: 'Q' } key W { label: 'W' base: 'w' shift, capslock: 'W' } key F { label: 'F' base: 'f' shift, capslock: 'F' } key P { label: 'P' base: 'p' shift, capslock: 'P' } key G { label: 'G' base: 'g' shift, capslock: 'G' } key J { label: 'J' base: 'j' shift, capslock: 'J' } key L { label: 'L' base: 'l' shift, capslock: 'L' } key U { label: 'U' base: 'u' shift, capslock: 'U' } key Y { label: 'Y' base: 'y' shift, capslock: 'Y' } key SEMICOLON { label: ';' base: ';' shift, capslock: ':' } key LEFT_BRACKET { label: '[' base: '[' shift: '{' } key RIGHT_BRACKET { label: ']' base: ']' shift: '}' } key BACKSLASH { label: '\\' base: '\\' shift: '|' } ### ROW 3 key A { label: 'A' base: 'a' shift, capslock: 'A' } key R { label: 'R' base: 'r' shift, capslock: 'R' } key S { label: 'S' base: 's' shift, capslock: 'S' } key T { label: 'T' base: 't' shift, capslock: 'T' } key D { label: 'D' base: 'd' shift, capslock: 'D' } key H { label: 'H' base: 'h' shift, capslock: 'H' } key N { label: 'N' base: 'n' shift, capslock: 'N' } key E { label: 'E' base: 'e' shift, capslock: 'E' } key I { label: 'I' base: 'i' shift, capslock: 'I' } key O { label: 'O' base: 'o' shift: 'O' } key APOSTROPHE { label: '\'' base: '\'' shift: '"' } ### ROW 4 key Z { label: 'Z' base: 'z' shift, capslock: 'Z' } key X { label: 'X' base: 'x' shift, capslock: 'X' } key C { label: 'C' base: 'c' shift, capslock: 'C' } key V { label: 'V' base: 'v' shift, capslock: 'V' } key B { label: 'B' base: 'b' shift, capslock: 'B' } key K { label: 'K' base: 'k' shift, capslock: 'K' } key M { label: 'M' base: 'm' shift, capslock: 'M' } key COMMA { label: ',' base: ',' shift: '<' } key PERIOD { label: '.' base: '.' shift: '>' } key SLASH { label: '/' base: '/' shift: '?' } packages/InputDevices/res/values/strings.xml +3 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ <!-- US English keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_english_us_label">English (US)</string> <!-- US English (Colemak style) keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_english_us_colemak_label">English (US), Colemak style</string> <!-- US English (Dvorak style) keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_english_us_dvorak_label">English (US), Dvorak style</string> Loading packages/InputDevices/res/xml/keyboard_layouts.xml +4 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,10 @@ android:label="@string/keyboard_layout_english_us_label" android:keyboardLayout="@raw/keyboard_layout_english_us" /> <keyboard-layout android:name="keyboard_layout_english_us_colemak" android:label="@string/keyboard_layout_english_us_colemak_label" android:keyboardLayout="@raw/keyboard_layout_english_us_colemak" /> <keyboard-layout android:name="keyboard_layout_english_us_dvorak" android:label="@string/keyboard_layout_english_us_dvorak_label" android:keyboardLayout="@raw/keyboard_layout_english_us_dvorak" /> Loading Loading
packages/InputDevices/res/raw/keyboard_layout_english_us_colemak.kcm 0 → 100644 +329 −0 Original line number Diff line number Diff line # Copyright (C) 2012 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # English (US), Colemak keyboard layout. # Unlike the default (generic) keyboard layout, English (US) does not contain any # special ALT characters. # type OVERLAY map key 18 F map key 19 P map key 20 G map key 21 J map key 22 L map key 23 U map key 24 Y map key 25 SEMICOLON map key 31 R map key 32 S map key 33 T map key 34 D map key 36 N map key 37 E map key 38 I map key 39 O map key 49 K ### ROW 1 key GRAVE { label: '`' base: '`' shift: '~' } key 1 { label: '1' base: '1' shift: '!' } key 2 { label: '2' base: '2' shift: '@' } key 3 { label: '3' base: '3' shift: '#' } key 4 { label: '4' base: '4' shift: '$' } key 5 { label: '5' base: '5' shift: '%' } key 6 { label: '6' base: '6' shift: '^' } key 7 { label: '7' base: '7' shift: '&' } key 8 { label: '8' base: '8' shift: '*' } key 9 { label: '9' base: '9' shift: '(' } key 0 { label: '0' base: '0' shift: ')' } key MINUS { label: '-' base: '-' shift: '_' } key EQUALS { label: '=' base: '=' shift: '+' } ### ROW 2 key Q { label: 'Q' base: 'q' shift, capslock: 'Q' } key W { label: 'W' base: 'w' shift, capslock: 'W' } key F { label: 'F' base: 'f' shift, capslock: 'F' } key P { label: 'P' base: 'p' shift, capslock: 'P' } key G { label: 'G' base: 'g' shift, capslock: 'G' } key J { label: 'J' base: 'j' shift, capslock: 'J' } key L { label: 'L' base: 'l' shift, capslock: 'L' } key U { label: 'U' base: 'u' shift, capslock: 'U' } key Y { label: 'Y' base: 'y' shift, capslock: 'Y' } key SEMICOLON { label: ';' base: ';' shift, capslock: ':' } key LEFT_BRACKET { label: '[' base: '[' shift: '{' } key RIGHT_BRACKET { label: ']' base: ']' shift: '}' } key BACKSLASH { label: '\\' base: '\\' shift: '|' } ### ROW 3 key A { label: 'A' base: 'a' shift, capslock: 'A' } key R { label: 'R' base: 'r' shift, capslock: 'R' } key S { label: 'S' base: 's' shift, capslock: 'S' } key T { label: 'T' base: 't' shift, capslock: 'T' } key D { label: 'D' base: 'd' shift, capslock: 'D' } key H { label: 'H' base: 'h' shift, capslock: 'H' } key N { label: 'N' base: 'n' shift, capslock: 'N' } key E { label: 'E' base: 'e' shift, capslock: 'E' } key I { label: 'I' base: 'i' shift, capslock: 'I' } key O { label: 'O' base: 'o' shift: 'O' } key APOSTROPHE { label: '\'' base: '\'' shift: '"' } ### ROW 4 key Z { label: 'Z' base: 'z' shift, capslock: 'Z' } key X { label: 'X' base: 'x' shift, capslock: 'X' } key C { label: 'C' base: 'c' shift, capslock: 'C' } key V { label: 'V' base: 'v' shift, capslock: 'V' } key B { label: 'B' base: 'b' shift, capslock: 'B' } key K { label: 'K' base: 'k' shift, capslock: 'K' } key M { label: 'M' base: 'm' shift, capslock: 'M' } key COMMA { label: ',' base: ',' shift: '<' } key PERIOD { label: '.' base: '.' shift: '>' } key SLASH { label: '/' base: '/' shift: '?' }
packages/InputDevices/res/values/strings.xml +3 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ <!-- US English keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_english_us_label">English (US)</string> <!-- US English (Colemak style) keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_english_us_colemak_label">English (US), Colemak style</string> <!-- US English (Dvorak style) keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_english_us_dvorak_label">English (US), Dvorak style</string> Loading
packages/InputDevices/res/xml/keyboard_layouts.xml +4 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,10 @@ android:label="@string/keyboard_layout_english_us_label" android:keyboardLayout="@raw/keyboard_layout_english_us" /> <keyboard-layout android:name="keyboard_layout_english_us_colemak" android:label="@string/keyboard_layout_english_us_colemak_label" android:keyboardLayout="@raw/keyboard_layout_english_us_colemak" /> <keyboard-layout android:name="keyboard_layout_english_us_dvorak" android:label="@string/keyboard_layout_english_us_dvorak_label" android:keyboardLayout="@raw/keyboard_layout_english_us_dvorak" /> Loading