diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-24 20:34:54 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-04-24 20:34:54 -0700 |
commit | 77241caa8e077e43909cca1e5d49f726f0b8afe5 (patch) | |
tree | f19ca4c06044d24738d4af7bc9c0d5ea1a568474 /packages/InputDevices/res | |
parent | 4c181a3f6a6f450522a1bbfdaba7d94e2fbdcb96 (diff) | |
download | frameworks_base-77241caa8e077e43909cca1e5d49f726f0b8afe5.zip frameworks_base-77241caa8e077e43909cca1e5d49f726f0b8afe5.tar.gz frameworks_base-77241caa8e077e43909cca1e5d49f726f0b8afe5.tar.bz2 |
Add even more keyboard layouts.
Bug: 6110399
Change-Id: I2278424e2e4c7dc7f7804a25d2c6c63f45181d1b
Diffstat (limited to 'packages/InputDevices/res')
6 files changed, 761 insertions, 2 deletions
diff --git a/packages/InputDevices/res/raw/keyboard_layout_belgian.kcm b/packages/InputDevices/res/raw/keyboard_layout_belgian.kcm new file mode 100644 index 0000000..f2c39ce --- /dev/null +++ b/packages/InputDevices/res/raw/keyboard_layout_belgian.kcm @@ -0,0 +1,340 @@ +# 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. + +# +# Belgian keyboard layout, AZERTY style. +# + +type OVERLAY + +map key 12 SLASH +map key 13 MINUS +map key 16 A +map key 17 Z +map key 30 Q +map key 39 M +map key 44 W +map key 50 COMMA +map key 51 SEMICOLON +map key 53 EQUALS +map key 86 PLUS + +### ROW 1 + +key GRAVE { + label: '\u00b2' + base: '\u00b2' + shift: '\u00b3' +} + +key 1 { + label: '1' + base: '&' + shift: '1' + ralt: '|' +} + +key 2 { + label: '2' + base: '\u00e9' + shift: '2' + ralt: '@' +} + +key 3 { + label: '3' + base: '"' + shift: '3' + ralt: '#' +} + +key 4 { + label: '4' + base: '\'' + shift: '4' +} + +key 5 { + label: '5' + base: '(' + shift: '5' +} + +key 6 { + label: '6' + base: '\u00a7' + shift: '6' + ralt: '^' +} + +key 7 { + label: '7' + base: '\u00e8' + shift: '7' +} + +key 8 { + label: '8' + base: '!' + shift: '8' +} + +key 9 { + label: '9' + base: '\u00e7' + shift: '9' + ralt: '{' +} + +key 0 { + label: '0' + base: '\u00e0' + shift: '0' + ralt: '}' +} + +key SLASH { + label: ')' + base: ')' + shift: '\u00b0' +} + +key MINUS { + label: '-' + base: '-' + shift: '_' +} + +### ROW 2 + +key A { + label: 'A' + base: 'a' + shift, capslock: 'A' +} + +key Z { + label: 'Z' + base: 'z' + shift, capslock: 'Z' +} + +key E { + label: 'E' + base: 'e' + shift, capslock: 'E' + ralt: '\u20ac' +} + +key R { + label: 'R' + base: 'r' + shift, capslock: 'R' +} + +key T { + label: 'T' + base: 't' + shift, capslock: 'T' +} + +key Y { + label: 'Y' + base: 'y' + shift, capslock: 'Y' +} + +key U { + label: 'U' + base: 'u' + shift, capslock: 'U' +} + +key I { + label: 'I' + base: 'i' + shift, capslock: 'I' +} + +key O { + label: 'O' + base: 'o' + shift, capslock: 'O' +} + +key P { + label: 'P' + base: 'p' + shift, capslock: 'P' +} + +key LEFT_BRACKET { + label: '[' + base: '\u0302' + shift: '\u0308' + ralt: '[' +} + +key RIGHT_BRACKET { + label: ']' + base: '$' + shift: '*' + ralt: ']' +} + +### ROW 3 + +key Q { + label: 'Q' + base: 'q' + shift, capslock: 'Q' +} + +key S { + label: 'S' + base: 's' + shift, capslock: 'S' +} + +key D { + label: 'D' + base: 'd' + shift, capslock: 'D' +} + +key F { + label: 'F' + base: 'f' + shift, capslock: 'F' +} + +key G { + label: 'G' + base: 'g' + shift, capslock: 'G' +} + +key H { + label: 'H' + base: 'h' + shift, capslock: 'H' +} + +key J { + label: 'J' + base: 'j' + shift, capslock: 'J' +} + +key K { + label: 'K' + base: 'k' + shift, capslock: 'K' +} + +key L { + label: 'L' + base: 'l' + shift, capslock: 'L' +} + +key M { + label: 'M' + base: 'm' + shift, capslock: 'M' +} + +key APOSTROPHE { + label: '\u00f9' + base: '\u00f9' + shift: '%' + ralt: '\u0301' +} + +key BACKSLASH { + label: '\u00b5' + base: '\u00b5' + shift: '\u00a3' + ralt: '\u0300' +} + +### ROW 4 + +key PLUS { + label: '<' + base: '<' + shift: '>' + ralt: '\\' +} + +key W { + label: 'W' + base: 'w' + shift, capslock: 'W' +} + +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 N { + label: 'N' + base: 'n' + shift, capslock: 'N' +} + +key COMMA { + label: ',' + base: ',' + shift: '?' +} + +key SEMICOLON { + label: ';' + base: ';' + shift: '.' +} + +key PERIOD { + label: ':' + base: ':' + shift: '/' +} + +key EQUALS { + label: '=' + base: '=' + shift: '+' + ralt: '\u0303' +} diff --git a/packages/InputDevices/res/raw/keyboard_layout_bulgarian.kcm b/packages/InputDevices/res/raw/keyboard_layout_bulgarian.kcm new file mode 100644 index 0000000..c56367e --- /dev/null +++ b/packages/InputDevices/res/raw/keyboard_layout_bulgarian.kcm @@ -0,0 +1,405 @@ +# 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. + +# +# Bulgarian keyboard layout. +# This is a typical Bulgarian PC keyboard layout. +# As an added convenience, English characters are accessible using ralt (Alt Gr). +# + +type OVERLAY + +map key 86 PLUS + +### ROW 1 + +key GRAVE { + label: '`' + base: '`' + shift, capslock: '~' + ralt: '`' + ralt+shift: '~' +} + +key 1 { + label: '1' + base: '1' + shift: '!' + ralt: '!' +} + +key 2 { + label: '2' + base: '2' + shift: '?' + ralt: '@' +} + +key 3 { + label: '3' + base: '3' + shift: '+' + ralt: '#' +} + +key 4 { + label: '4' + base: '4' + shift: '"' + ralt: '$' +} + +key 5 { + label: '5' + base: '5' + shift: '%' + ralt: '%' +} + +key 6 { + label: '6' + base: '6' + shift: '=' + ralt: '^' +} + +key 7 { + label: '7' + base: '7' + shift: ':' + ralt: '&' +} + +key 8 { + label: '8' + base: '8' + shift: '/' + ralt: '*' +} + +key 9 { + label: '9' + base: '9' + shift: '_' + ralt: '(' +} + +key 0 { + label: '0' + base: '0' + shift: '\u2116' + ralt: ')' +} + +key MINUS { + label: '-' + base: '-' + shift: 'I' + ralt: '_' +} + +key EQUALS { + label: '.' + base: '.' + shift: 'V' + ralt: '=' + ralt+shift: '+' +} + +### ROW 2 + +key Q { + label: ',' + base: ',' + shift: '\u044b' + capslock: '\u042b' + ralt: 'q' + ralt+shift, ralt+capslock: 'Q' +} + +key W { + label: '\u0423' + base: '\u0443' + shift, capslock: '\u0423' + ralt: 'w' + ralt+shift, ralt+capslock: 'W' +} + +key E { + label: '\u0415' + base: '\u0435' + shift, capslock: '\u0415' + ralt: 'e' + ralt+shift, ralt+capslock: 'E' +} + +key R { + label: '\u0418' + base: '\u0438' + shift, capslock: '\u0418' + ralt: 'r' + ralt+shift, ralt+capslock: 'R' +} + +key T { + label: '\u0428' + base: '\u0448' + shift, capslock: '\u0428' + ralt: 't' + ralt+shift, ralt+capslock: 'T' +} + +key Y { + label: '\u0429' + base: '\u0449' + shift, capslock: '\u0429' + ralt: 'y' + ralt+shift, ralt+capslock: 'Y' +} + +key U { + label: '\u041a' + base: '\u043a' + shift, capslock: '\u041a' + ralt: 'u' + ralt+shift, ralt+capslock: 'U' +} + +key I { + label: '\u0421' + base: '\u0441' + shift, capslock: '\u0421' + ralt: 'i' + ralt+shift, ralt+capslock: 'I' +} + +key O { + label: '\u0414' + base: '\u0434' + shift, capslock: '\u0414' + ralt: 'o' + ralt+shift, ralt+capslock: 'O' +} + +key P { + label: '\u0417' + base: '\u0437' + shift, capslock: '\u0417' + ralt: 'p' + ralt+shift, ralt+capslock: 'P' +} + +key LEFT_BRACKET { + label: '\u0426' + base: '\u0446' + shift, capslock: '\u0426' + ralt: '[' + ralt+shift: '{' +} + +key RIGHT_BRACKET { + label: ';' + base: ';' + shift: '\u00a7' + ralt: ']' + ralt+shift: '}' +} + +### ROW 3 + +key A { + label: '\u042c' + base: '\u044c' + shift, capslock: '\u042c' + ralt: 'a' + ralt+shift, ralt+capslock: 'A' +} + +key S { + label: '\u042f' + base: '\u044f' + shift, capslock: '\u042f' + ralt: 's' + ralt+shift, ralt+capslock: 'S' +} + +key D { + label: '\u0410' + base: '\u0430' + shift, capslock: '\u0410' + ralt: 'd' + ralt+shift, ralt+capslock: 'D' +} + +key F { + label: '\u041e' + base: '\u043e' + shift, capslock: '\u041e' + ralt: 'f' + ralt+shift, ralt+capslock: 'F' +} + +key G { + label: '\u0416' + base: '\u0436' + shift, capslock: '\u0416' + ralt: 'g' + ralt+shift, ralt+capslock: 'G' +} + +key H { + label: '\u0413' + base: '\u0433' + shift, capslock: '\u0413' + ralt: 'h' + ralt+shift, ralt+capslock: 'H' +} + +key J { + label: '\u0422' + base: '\u0442' + shift, capslock: '\u0422' + ralt: 'j' + ralt+shift, ralt+capslock: 'J' +} + +key K { + label: '\u041d' + base: '\u043d' + shift, capslock: '\u041d' + ralt: 'k' + ralt+shift, ralt+capslock: 'K' +} + +key L { + label: '\u0412' + base: '\u0432' + shift, capslock: '\u0412' + ralt: 'l' + ralt+shift, ralt+capslock: 'L' +} + +key SEMICOLON { + label: '\u041c' + base: '\u043c' + shift, capslock: '\u041c' + ralt: ';' + ralt+shift: ':' +} + +key APOSTROPHE { + label: '\u0427' + base: '\u0447' + shift, capslock: '\u0427' + ralt: '\'' + ralt+shift: '"' +} + +key BACKSLASH { + label: '(' + base: '(' + shift: ')' + ralt: '\\' + ralt+shift: '|' +} + +### ROW 4 + +key PLUS { + label: '\\' + base: '\\' + shift: '|' + ralt: '\\' + ralt+shift: '|' +} + +key Z { + label: '\u042e' + base: '\u044e' + shift, capslock: '\u042e' + ralt: 'z' + ralt+shift, ralt+capslock: 'Z' +} + +key X { + label: '\u0419' + base: '\u0439' + shift, capslock: '\u0419' + ralt: 'x' + ralt+shift, ralt+capslock: 'X' +} + +key C { + label: '\u042a' + base: '\u044a' + shift, capslock: '\u042a' + ralt: 'c' + ralt+shift, ralt+capslock: 'C' +} + +key V { + label: '\u042d' + base: '\u044d' + shift, capslock: '\u042d' + ralt: 'v' + ralt+shift, ralt+capslock: 'V' +} + +key B { + label: '\u0424' + base: '\u0444' + shift, capslock: '\u0424' + ralt: 'b' + ralt+shift, ralt+capslock: 'B' +} + +key N { + label: '\u0425' + base: '\u0445' + shift, capslock: '\u0425' + ralt: 'n' + ralt+shift, ralt+capslock: 'N' +} + +key M { + label: '\u041f' + base: '\u043f' + shift, capslock: '\u041f' + ralt: 'm' + ralt+shift, ralt+capslock: 'M' +} + +key COMMA { + label: '\u0420' + base: '\u0440' + shift, capslock: '\u0420' + ralt: ',' + ralt+shift: '<' +} + +key PERIOD { + label: '\u041b' + base: '\u043b' + shift, capslock: '\u041b' + ralt: '.' + ralt+shift: '>' +} + +key SLASH { + label: '\u0411' + base: '\u0431' + shift, capslock: '\u0411' + ralt: '/' + ralt+shift: '?' +} diff --git a/packages/InputDevices/res/raw/keyboard_layout_russian.kcm b/packages/InputDevices/res/raw/keyboard_layout_russian.kcm index 73646d2..41c6bb3 100644 --- a/packages/InputDevices/res/raw/keyboard_layout_russian.kcm +++ b/packages/InputDevices/res/raw/keyboard_layout_russian.kcm @@ -15,7 +15,7 @@ # # Russian keyboard layout. # This is a typical Russian PC keyboard layout. -# English characters are accessible using ralt (Alt Gr). +# As an added convenience, English characters are accessible using ralt (Alt Gr). # type OVERLAY diff --git a/packages/InputDevices/res/raw/keyboard_layout_russian_apple.kcm b/packages/InputDevices/res/raw/keyboard_layout_russian_apple.kcm index 18893fe..8c1d596 100644 --- a/packages/InputDevices/res/raw/keyboard_layout_russian_apple.kcm +++ b/packages/InputDevices/res/raw/keyboard_layout_russian_apple.kcm @@ -17,7 +17,7 @@ # This is a variant of the typical Russian PC keyboard layout that is presented # on Apple keyboards. In contrast with the standard layout, some of the symbols and # punctuation characters have been rearranged. -# English characters are accessible using ralt (Alt Gr). +# As an added convenience, English characters are accessible using ralt (Alt Gr). # type OVERLAY diff --git a/packages/InputDevices/res/values/strings.xml b/packages/InputDevices/res/values/strings.xml index b44bc5c..95e7401 100644 --- a/packages/InputDevices/res/values/strings.xml +++ b/packages/InputDevices/res/values/strings.xml @@ -32,4 +32,10 @@ <!-- Swiss German keyboard layout label. [CHAR LIMIT=35] --> <string name="keyboard_layout_swiss_german_label">Swiss German</string> + + <!-- Belgian keyboard layout label. [CHAR LIMIT=35] --> + <string name="keyboard_layout_belgian">Belgian</string> + + <!-- Bulgarian keyboard layout label. [CHAR LIMIT=35] --> + <string name="keyboard_layout_bulgarian">Bulgarian</string> </resources> diff --git a/packages/InputDevices/res/xml/keyboard_layouts.xml b/packages/InputDevices/res/xml/keyboard_layouts.xml index 58920dc..50672a1 100644 --- a/packages/InputDevices/res/xml/keyboard_layouts.xml +++ b/packages/InputDevices/res/xml/keyboard_layouts.xml @@ -39,4 +39,12 @@ <keyboard-layout android:name="keyboard_layout_swiss_german" android:label="@string/keyboard_layout_swiss_german_label" android:kcm="@raw/keyboard_layout_swiss_german" /> + + <keyboard-layout android:name="keyboard_layout_belgian" + android:label="@string/keyboard_layout_belgian" + android:kcm="@raw/keyboard_layout_belgian" /> + + <keyboard-layout android:name="keyboard_layout_bulgarian" + android:label="@string/keyboard_layout_bulgarian" + android:kcm="@raw/keyboard_layout_bulgarian" /> </keyboard-layouts> |