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

Commit bbde26ea authored by Josep del Rio's avatar Josep del Rio
Browse files

Update Ukrainian keyboard layout

The current Ukrainian physical keyboard layout has some
inconsistencies when compared to the enhanced layout used in most
major platforms (Windows, Mac and Linux); after checking the
different options, the Linux layout seems like the best option
which is also highly compatible with the Windows implementation,
so this CL changes the KCM to align with it.

Bug: 279207272
Test: Tested on device
Change-Id: Iffa9a9d0a95d014722be34ca1326c4d70ddf8b12
parent cbb00109
Loading
Loading
Loading
Loading
+75 −30
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@

#
# Ukrainian keyboard layout.
# This is a typical Ukrainian PC keyboard layout.
# As an added convenience, English characters are accessible using ralt (Alt Gr).
# Based on PC enhanced Ukrainian layout with added Unicode keys based on
# the Linux one.
#

type OVERLAY
@@ -25,32 +25,34 @@ map key 86 PLUS
### ROW 1

key GRAVE {
    label:                              '\u0401'
    base:                               '\u0451'
    shift, capslock:                    '\u0401'
    shift+capslock:                     '\u0451'
    ralt:                               '`'
    label:                              '\''
    base:                               '\''
    shift:                              '\u02bc'
    ralt:                               '\u0301'
    ralt+shift:                         '~'
}

key 1 {
    label:                              '1'
    base:                               '1'
    shift, ralt:                        '!'
    shift:                              '!'
    ralt:                               '\u00b9'
}

key 2 {
    label:                              '2'
    base:                               '2'
    shift:                              '"'
    ralt:                               '@'
    ralt:                               '\u00b2'
    ralt+shift:                         '\u2019'
}

key 3 {
    label:                              '3'
    base:                               '3'
    shift:                              '\u2116'
    ralt:                               '#'
    ralt:                               '\u00a7'
    ralt+shift:                         '\u20b4'
}

key 4 {
@@ -58,60 +60,67 @@ key 4 {
    base:                               '4'
    shift:                              ';'
    ralt:                               '$'
    ralt+shift:                         '\u20ac'
}

key 5 {
    label:                              '5'
    base:                               '5'
    shift, ralt:                        '%'
    shift:                              '%'
    ralt:                               '\u00b0'
}

key 6 {
    label:                              '6'
    base:                               '6'
    shift:                              ':'
    ralt:                               '^'
    ralt:                               '<'
}

key 7 {
    label:                              '7'
    base:                               '7'
    shift:                              '?'
    ralt:                               '&'
    ralt:                               '>'
}

key 8 {
    label:                              '8'
    base:                               '8'
    shift, ralt:                        '*'
    shift:                              '*'
    ralt:                               '\u2022'
}

key 9 {
    label:                              '9'
    base:                               '9'
    shift, ralt:                        '('
    shift:                              '('
    ralt:                               '['
    ralt+shift:                         '{'
}

key 0 {
    label:                              '0'
    base:                               '0'
    shift, ralt:                        ')'
    shift:                              ')'
    ralt:                               ']'
    ralt+shift:                         '}'
}

key MINUS {
    label:                              '-'
    base:                               '-'
    shift:                              '_'
    ralt:                               '-'
    shift+ralt:                         '_'
    ralt:                               '\u2014'
    shift+ralt:                         '\u2013'
}

key EQUALS {
    label:                              '='
    base:                               '='
    shift:                              '+'
    ralt:                               '='
    shift+ralt:                         '+'
    ralt:                               '\u2260'
    shift+ralt:                         '\u00b1'
}

### ROW 2
@@ -121,6 +130,9 @@ key Q {
    base:                               '\u0439'
    shift, capslock:                    '\u0419'
    shift+capslock:                     '\u0439'
    ralt:                               '\u0458'
    ralt+shift, ralt+capslock:          '\u0408'
    ralt+shift+capslock:                '\u0458'
}

key W {
@@ -128,6 +140,9 @@ key W {
    base:                               '\u0446'
    shift, capslock:                    '\u0426'
    shift+capslock:                     '\u0446'
    ralt:                               '\u045f'
    ralt+shift, ralt+capslock:          '\u040f'
    ralt+shift+capslock:                '\u045f'
}

key E {
@@ -135,6 +150,9 @@ key E {
    base:                               '\u0443'
    shift, capslock:                    '\u0423'
    shift+capslock:                     '\u0443'
    ralt:                               '\u045e'
    ralt+shift, ralt+capslock:          '\u040e'
    ralt+shift+capslock:                '\u045e'
}

key R {
@@ -142,6 +160,7 @@ key R {
    base:                               '\u043a'
    shift, capslock:                    '\u041a'
    shift+capslock:                     '\u043a'
    ralt:                               '\u00ae'
}

key T {
@@ -149,6 +168,9 @@ key T {
    base:                               '\u0435'
    shift, capslock:                    '\u0415'
    shift+capslock:                     '\u0435'
    ralt:                               '\u0451'
    ralt+shift, ralt+capslock:          '\u0401'
    ralt+shift+capslock:                '\u0451'
}

key Y {
@@ -156,6 +178,9 @@ key Y {
    base:                               '\u043d'
    shift, capslock:                    '\u041d'
    shift+capslock:                     '\u043d'
    ralt:                               '\u045a'
    ralt+shift, ralt+capslock:          '\u040a'
    ralt+shift+capslock:                '\u045a'
}

key U {
@@ -164,8 +189,8 @@ key U {
    shift, capslock:                    '\u0413'
    shift+capslock:                     '\u0433'
    ralt:                               '\u0491'
    shift+ralt, capslock+ralt:          '\u0490'
    shift+capslock+ralt:                '\u0491'
    ralt+shift, ralt+capslock:          '\u0490'
    ralt+shift+capslock:                '\u0491'
}

key I {
@@ -201,6 +226,9 @@ key RIGHT_BRACKET {
    base:                               '\u0457'
    shift, capslock:                    '\u0407'
    shift+capslock:                     '\u0457'
    ralt:                               '\u044a'
    ralt+shift, ralt+capslock:          '\u042a'
    ralt+shift+capslock:                '\u044a'
}

### ROW 3
@@ -217,6 +245,9 @@ key S {
    base:                               '\u0456'
    shift, capslock:                    '\u0406'
    shift+capslock:                     '\u0456'
    ralt:                               '\u044b'
    ralt+shift, ralt+capslock:          '\u042b'
    ralt+shift+capslock:                '\u044b'
}

key D {
@@ -259,6 +290,9 @@ key K {
    base:                               '\u043b'
    shift, capslock:                    '\u041b'
    shift+capslock:                     '\u043b'
    ralt:                               '\u0459'
    ralt+shift, ralt+capslock:          '\u0409'
    ralt+shift+capslock:                '\u0459'
}

key L {
@@ -266,6 +300,9 @@ key L {
    base:                               '\u0434'
    shift, capslock:                    '\u0414'
    shift+capslock:                     '\u0434'
    ralt:                               '\u0452'
    ralt+shift, ralt+capslock:          '\u0402'
    ralt+shift+capslock:                '\u0452'
}

key SEMICOLON {
@@ -282,15 +319,18 @@ key APOSTROPHE {
    base:                               '\u0454'
    shift, capslock:                    '\u0404'
    shift+capslock:                     '\u0454'
    ralt:                               '\''
    ralt+shift:                         '"'
    ralt:                               '\u044d'
    ralt+shift, ralt+capslock:          '\u042d'
    ralt+shift+capslock:                '\u044d'
}

key BACKSLASH {
    label:                              '\\'
    base:                               '\\'
    shift:                              '/'
    ralt:                               '|'
    ralt:                               '\u0491'
    ralt+shift, ralt+capslock:          '\u0490'
    ralt+shift+capslock:                '\u0491'
}

### ROW 4
@@ -316,6 +356,9 @@ key X {
    base:                               '\u0447'
    shift, capslock:                    '\u0427'
    shift+capslock:                     '\u0447'
    ralt:                               '\u045b'
    ralt+shift, ralt+capslock:          '\u040b'
    ralt+shift+capslock:                '\u045b'
}

key C {
@@ -323,6 +366,7 @@ key C {
    base:                               '\u0441'
    shift, capslock:                    '\u0421'
    shift+capslock:                     '\u0441'
    ralt:                               '\u00a9'
}

key V {
@@ -344,6 +388,7 @@ key N {
    base:                               '\u0442'
    shift, capslock:                    '\u0422'
    shift+capslock:                     '\u0442'
    ralt:                               '\u2122'
}

key M {
@@ -358,8 +403,8 @@ key COMMA {
    base:                               '\u0431'
    shift, capslock:                    '\u0411'
    shift+capslock:                     '\u0431'
    ralt:                               ','
    ralt+shift:                         '<'
    ralt:                               '\u00ab'
    ralt+shift:                         '\u201e'
}

key PERIOD {
@@ -367,8 +412,8 @@ key PERIOD {
    base:                               '\u044e'
    shift, capslock:                    '\u042e'
    shift+capslock:                     '\u044e'
    ralt:                               '.'
    ralt+shift:                         '>'
    ralt:                               '\u00bb'
    ralt+shift:                         '\u201c'
}

key SLASH {
@@ -376,5 +421,5 @@ key SLASH {
    base:                               '.'
    shift:                              ','
    ralt:                               '/'
    ralt+shift:                         '?'
    ralt+shift:                         '\u2026'
}