Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fc764c8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add keyboard layout for Belarusian"

parents 7badb011 5b6275cd
Loading
Loading
Loading
Loading
+343 −0
Original line number Diff line number Diff line
# Copyright (C) 2020 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.

# Belarusian keyboard layout.
# This is a typical Belarusian PC keyboard layout.
# As an added convenience, English characters are accessible using ralt (Alt Gr).
#

type OVERLAY
map key 86 BACKSLASH
### ROW 1
key GRAVE {
    label:                              '\u0401'
    base:                               '\u0451'
    shift, capslock:                    '\u0401'
    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:                              '\u2116'
    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:                              ')'
    ralt:                               ')'
}
key MINUS {
    label:                              '-'
    base:                               '-'
    shift:                              '_'
    ralt:                               '-'
    ralt+shift:                         '_'
}
key EQUALS {
    label:                              '='
    base:                               '='
    shift:                              '+'
    ralt:                               '='
    ralt+shift:                         '+'
}
### ROW 2
key Q {
    label:                              '\u0419'
    base:                               '\u0439'
    shift, capslock:                    '\u0419'
    ralt:                               'q'
    ralt+shift, ralt+capslock:          'Q'
}
key W {
    label:                              '\u0426'
    base:                               '\u0446'
    shift, capslock:                    '\u0426'
    ralt:                               'w'
    ralt+shift, ralt+capslock:          'W'
}
key E {
    label:                              '\u0423'
    base:                               '\u0443'
    shift, capslock:                    '\u0423'
    ralt:                               'e'
    ralt+shift, ralt+capslock:          'E'
}
key R {
    label:                              '\u041a'
    base:                               '\u043a'
    shift, capslock:                    '\u041a'
    ralt:                               'r'
    ralt+shift, ralt+capslock:          'R'
}
key T {
    label:                              '\u0415'
    base:                               '\u0435'
    shift, capslock:                    '\u0415'
    ralt:                               't'
    ralt+shift, ralt+capslock:          'T'
}
key Y {
    label:                              '\u041d'
    base:                               '\u043d'
    shift, capslock:                    '\u041d'
    ralt:                               'y'
    ralt+shift, ralt+capslock:          'Y'
}
key U {
    label:                              '\u0413'
    base:                               '\u0433'
    shift, capslock:                    '\u0413'
    ralt:                               'u'
    ralt+shift, ralt+capslock:          'U'
}
key I {
    label:                              '\u0428'
    base:                               '\u0448'
    shift, capslock:                    '\u0428'
    ralt:                               'i'
    ralt+shift, ralt+capslock:          'I'
}
key O {
    label:                              '\u040E'
    base:                               '\u045E'
    shift, capslock:                    '\u040E'
    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:                              '\u0425'
    base:                               '\u0445'
    shift, capslock:                    '\u0425'
    ralt:                               '['
    ralt+shift:                         '{'
}
key RIGHT_BRACKET {
    label:                              '\u0027'
    base:                               '\u0027'
    shift, capslock:                    '\u0027'
    ralt:                               ']'
    ralt+shift:                         '}'
}
### ROW 3
key A {
    label:                              '\u0424'
    base:                               '\u0444'
    shift, capslock:                    '\u0424'
    ralt:                               'a'
    ralt+shift, ralt+capslock:          'A'
}
key S {
    label:                              '\u042b'
    base:                               '\u044b'
    shift, capslock:                    '\u042b'
    ralt:                               's'
    ralt+shift, ralt+capslock:          'S'
}
key D {
    label:                              '\u0412'
    base:                               '\u0432'
    shift, capslock:                    '\u0412'
    ralt:                               'd'
    ralt+shift, ralt+capslock:          'D'
}
key F {
    label:                              '\u0410'
    base:                               '\u0430'
    shift, capslock:                    '\u0410'
    ralt:                               'f'
    ralt+shift, ralt+capslock:          'F'
}
key G {
    label:                              '\u041f'
    base:                               '\u043f'
    shift, capslock:                    '\u041f'
    ralt:                               'g'
    ralt+shift, ralt+capslock:          'G'
}
key H {
    label:                              '\u0420'
    base:                               '\u0440'
    shift, capslock:                    '\u0420'
    ralt:                               'h'
    ralt+shift, ralt+capslock:          'H'
}
key J {
    label:                              '\u041e'
    base:                               '\u043e'
    shift, capslock:                    '\u041e'
    ralt:                               'j'
    ralt+shift, ralt+capslock:          'J'
}
key K {
    label:                              '\u041b'
    base:                               '\u043b'
    shift, capslock:                    '\u041b'
    ralt:                               'k'
    ralt+shift, ralt+capslock:          'K'
}
key L {
    label:                              '\u0414'
    base:                               '\u0434'
    shift, capslock:                    '\u0414'
    ralt:                               'l'
    ralt+shift, ralt+capslock:          'L'
}
key SEMICOLON {
    label:                              '\u0416'
    base:                               '\u0436'
    shift, capslock:                    '\u0416'
    ralt:                               ';'
    ralt+shift:                         ':'
}
key APOSTROPHE {
    label:                              '\u042d'
    base:                               '\u044d'
    shift, capslock:                    '\u042d'
    ralt:                               '\''
    ralt+shift:                         '"'
}
key BACKSLASH {
    label:                              '\\'
    base:                               '\\'
    shift:                              '/'
    ralt:                               '|'
}
### ROW 4
key Z {
    label:                              '\u042f'
    base:                               '\u044f'
    shift, capslock:                    '\u042f'
    ralt:                               'z'
    ralt+shift, ralt+capslock:          'Z'
}
key X {
    label:                              '\u0427'
    base:                               '\u0447'
    shift, capslock:                    '\u0427'
    ralt:                               'x'
    ralt+shift, ralt+capslock:          'X'
}
key C {
    label:                              '\u0421'
    base:                               '\u0441'
    shift, capslock:                    '\u0421'
    ralt:                               'c'
    ralt+shift, ralt+capslock:          'C'
}
key V {
    label:                              '\u041c'
    base:                               '\u043c'
    shift, capslock:                    '\u041c'
    ralt:                               'v'
    ralt+shift, ralt+capslock:          'V'
}
key B {
    label:                              '\u0406'
    base:                               '\u0456'
    shift, capslock:                    '\u0406'
    ralt:                               'b'
    ralt+shift, ralt+capslock:          'B'
}
key N {
    label:                              '\u0422'
    base:                               '\u0442'
    shift, capslock:                    '\u0422'
    ralt:                               'n'
    ralt+shift, ralt+capslock:          'N'
}
key M {
    label:                              '\u042c'
    base:                               '\u044c'
    shift, capslock:                    '\u042c'
    ralt:                               'm'
    ralt+shift, ralt+capslock:          'M'
}
key COMMA {
    label:                              '\u0411'
    base:                               '\u0431'
    shift, capslock:                    '\u0411'
    ralt:                               ','
    ralt+shift:                         '<'
}
key PERIOD {
    label:                              '\u042e'
    base:                               '\u044e'
    shift, capslock:                    '\u042e'
    ralt:                               '.'
    ralt+shift:                         '>'
}
key SLASH {
    label:                              '.'
    base:                               '.'
    shift:                              ','
    ralt:                               '/'
    ralt+shift:                         '?'
}
+3 −0
Original line number Diff line number Diff line
@@ -128,4 +128,7 @@

    <!-- Polish keyboard layout label. [CHAR LIMIT=35] -->
    <string name="keyboard_layout_polish">Polish</string>

    <!-- Belarusian keyboard layout label. [CHAR LIMIT=35] -->
    <string name="keyboard_layout_belarusian">Belarusian</string>
</resources>
+4 −0
Original line number Diff line number Diff line
@@ -163,4 +163,8 @@
    <keyboard-layout android:name="keyboard_layout_polish"
            android:label="@string/keyboard_layout_polish"
            android:keyboardLayout="@raw/keyboard_layout_polish" />

    <keyboard-layout android:name="keyboard_layout_belarusian"
            android:label="@string/keyboard_layout_belarusian"
            android:keyboardLayout="@raw/keyboard_layout_belarusian" />
</keyboard-layouts>