am 0a5236a7: Merge "Add support for Latvian (qwerty) keyboard mapping"
* commit '0a5236a7cd3fa5a62a97f14a512dbeb5eb34772a': Add support for Latvian (qwerty) keyboard mapping
This commit is contained in:
362
packages/InputDevices/res/raw/keyboard_layout_latvian_qwerty.kcm
Normal file
362
packages/InputDevices/res/raw/keyboard_layout_latvian_qwerty.kcm
Normal file
@@ -0,0 +1,362 @@
|
||||
# Copyright (C) 2014 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.
|
||||
|
||||
#
|
||||
# Latvian (QWERTY-US-intl based) keyboard layout.
|
||||
#
|
||||
|
||||
type OVERLAY
|
||||
|
||||
map key 86 BACKSLASH
|
||||
map key 43 POUND
|
||||
|
||||
### ROW 1
|
||||
|
||||
key GRAVE {
|
||||
label: '\u0300'
|
||||
base: '\u0300'
|
||||
shift: '\u0303'
|
||||
ralt: '-'
|
||||
}
|
||||
|
||||
key 1 {
|
||||
label: '1'
|
||||
base: '1'
|
||||
shift: '!'
|
||||
ralt: '\u00a0'
|
||||
}
|
||||
|
||||
key 2 {
|
||||
label: '2'
|
||||
base: '2'
|
||||
shift: '@'
|
||||
ralt: '\u00ab'
|
||||
}
|
||||
|
||||
key 3 {
|
||||
label: '3'
|
||||
base: '3'
|
||||
shift: '#'
|
||||
ralt: '\u00bb'
|
||||
}
|
||||
|
||||
key 4 {
|
||||
label: '4'
|
||||
base: '4'
|
||||
shift: '$'
|
||||
ralt: '\u20ac'
|
||||
ralt+shift: '\u00a7'
|
||||
}
|
||||
|
||||
key 5 {
|
||||
label: '5'
|
||||
base: '5'
|
||||
shift: '%'
|
||||
ralt+shift: '\u00b0'
|
||||
}
|
||||
|
||||
key 6 {
|
||||
label: '6'
|
||||
base: '6'
|
||||
shift: '\u0302'
|
||||
ralt: '\u2019'
|
||||
}
|
||||
|
||||
key 7 {
|
||||
label: '7'
|
||||
base: '7'
|
||||
shift: '&'
|
||||
ralt+shift: '\u00b1'
|
||||
}
|
||||
|
||||
key 8 {
|
||||
label: '8'
|
||||
base: '8'
|
||||
shift: '*'
|
||||
ralt+shift: '\u00d7'
|
||||
}
|
||||
|
||||
key 9 {
|
||||
label: '9'
|
||||
base: '9'
|
||||
shift: '('
|
||||
}
|
||||
|
||||
key 0 {
|
||||
label: '0'
|
||||
base: '0'
|
||||
shift: ')'
|
||||
}
|
||||
|
||||
key MINUS {
|
||||
label: '-'
|
||||
base: '-'
|
||||
shift: '_'
|
||||
ralt: '\u2013'
|
||||
ralt+shift: '\u2014'
|
||||
}
|
||||
|
||||
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 E {
|
||||
label: 'E'
|
||||
base: 'e'
|
||||
shift, capslock: 'E'
|
||||
ralt: '\u0113'
|
||||
shift+ralt, ralt+capslock: '\u0112'
|
||||
}
|
||||
|
||||
key R {
|
||||
label: 'R'
|
||||
base: 'r'
|
||||
shift, capslock: 'R'
|
||||
ralt: '\u0157'
|
||||
shift+ralt, ralt+capslock: '\u0156'
|
||||
}
|
||||
|
||||
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'
|
||||
ralt: '\u016b'
|
||||
shift+ralt, ralt+capslock: '\u016a'
|
||||
}
|
||||
|
||||
key I {
|
||||
label: 'I'
|
||||
base: 'i'
|
||||
shift, capslock: 'I'
|
||||
ralt: '\u012b'
|
||||
shift+ralt, ralt+capslock: '\u012a'
|
||||
}
|
||||
|
||||
key O {
|
||||
label: 'O'
|
||||
base: 'o'
|
||||
shift, capslock: 'O'
|
||||
ralt: '\u00f5'
|
||||
shift+ralt, ralt+capslock: '\u00d5'
|
||||
}
|
||||
|
||||
key P {
|
||||
label: 'P'
|
||||
base: 'p'
|
||||
shift, capslock: 'P'
|
||||
}
|
||||
|
||||
key LEFT_BRACKET {
|
||||
label: '['
|
||||
base: '['
|
||||
shift: '{'
|
||||
}
|
||||
|
||||
key RIGHT_BRACKET {
|
||||
label: ']'
|
||||
base: ']'
|
||||
shift: '}'
|
||||
}
|
||||
|
||||
|
||||
### ROW 3
|
||||
|
||||
key A {
|
||||
label: 'A'
|
||||
base: 'a'
|
||||
shift, capslock: 'A'
|
||||
ralt: '\u0101'
|
||||
shift+ralt, ralt+capslock: '\u0100'
|
||||
}
|
||||
|
||||
key S {
|
||||
label: 'S'
|
||||
base: 's'
|
||||
shift, capslock: 'S'
|
||||
ralt: '\u0161'
|
||||
shift+ralt, ralt+capslock: '\u0160'
|
||||
}
|
||||
|
||||
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'
|
||||
ralt: '\u0123'
|
||||
shift+ralt, ralt+capslock: '\u0122'
|
||||
}
|
||||
|
||||
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'
|
||||
ralt: '\u0137'
|
||||
shift+ralt, ralt+capslock: '\u0136'
|
||||
}
|
||||
|
||||
key L {
|
||||
label: 'L'
|
||||
base: 'l'
|
||||
shift, capslock: 'L'
|
||||
ralt: '\u013c'
|
||||
shift+ralt, ralt+capslock: '\u013b'
|
||||
}
|
||||
|
||||
key SEMICOLON {
|
||||
label: ';'
|
||||
base: ';'
|
||||
shift: ':'
|
||||
}
|
||||
|
||||
key APOSTROPHE {
|
||||
label: '\''
|
||||
base: '\''
|
||||
shift: '"'
|
||||
ralt: '\u0301'
|
||||
shift+ralt: '\u0308'
|
||||
}
|
||||
|
||||
key POUND {
|
||||
label: '\u00b0'
|
||||
base: '\u00b0'
|
||||
shift: '|'
|
||||
}
|
||||
|
||||
### ROW 4
|
||||
|
||||
key BACKSLASH {
|
||||
label: '\\'
|
||||
base: '\\'
|
||||
shift: '|'
|
||||
ralt: '\u00ac'
|
||||
shift+ralt: '\u00a6'
|
||||
}
|
||||
|
||||
key Z {
|
||||
label: 'Z'
|
||||
base: 'z'
|
||||
shift, capslock: 'Z'
|
||||
ralt: '\u017e'
|
||||
shift+ralt, ralt+capslock: '\u017d'
|
||||
}
|
||||
|
||||
key X {
|
||||
label: 'X'
|
||||
base: 'x'
|
||||
shift, capslock: 'X'
|
||||
}
|
||||
|
||||
key C {
|
||||
label: 'C'
|
||||
base: 'c'
|
||||
shift, capslock: 'C'
|
||||
ralt: '\u010d'
|
||||
shift+ralt, ralt+capslock: '\u010c'
|
||||
}
|
||||
|
||||
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'
|
||||
ralt: '\u0146'
|
||||
shift+ralt, ralt+capslock: '\u0145'
|
||||
}
|
||||
|
||||
key M {
|
||||
label: 'M'
|
||||
base: 'm'
|
||||
shift, capslock: 'M'
|
||||
}
|
||||
|
||||
key COMMA {
|
||||
label: ','
|
||||
base: ','
|
||||
shift: '<'
|
||||
}
|
||||
|
||||
key PERIOD {
|
||||
label: '.'
|
||||
base: '.'
|
||||
shift: '>'
|
||||
}
|
||||
|
||||
key SLASH {
|
||||
label: '/'
|
||||
base: '/'
|
||||
shift: '?'
|
||||
ralt: '\u00bf'
|
||||
}
|
||||
@@ -113,4 +113,7 @@
|
||||
|
||||
<!-- Spanish (Latin) keyboard layout label. [CHAR LIMIT=35] -->
|
||||
<string name="keyboard_layout_spanish_latin">Spanish (Latin)</string>
|
||||
|
||||
<!-- Latvian keyboard layout label. [CHAR LIMIT=35] -->
|
||||
<string name="keyboard_layout_latvian">Latvian</string>
|
||||
</resources>
|
||||
|
||||
@@ -143,4 +143,8 @@
|
||||
<keyboard-layout android:name="keyboard_layout_spanish_latin"
|
||||
android:label="@string/keyboard_layout_spanish_latin"
|
||||
android:keyboardLayout="@raw/keyboard_layout_spanish_latin" />
|
||||
|
||||
<keyboard-layout android:name="keyboard_layout_latvian"
|
||||
android:label="@string/keyboard_layout_latvian"
|
||||
android:keyboardLayout="@raw/keyboard_layout_latvian_qwerty" />
|
||||
</keyboard-layouts>
|
||||
|
||||
Reference in New Issue
Block a user