fixed russian keyboard layout in mobile-intl, Р key was missing, moved З to an overlay on е because of lack of space

This commit is contained in:
Maarten van Gompel 2020-12-11 17:45:55 +01:00 committed by Hiltjo Posthuma
parent 02a2f77fbb
commit 79ff93369c
2 changed files with 4 additions and 7 deletions

View File

@ -32,7 +32,7 @@ The following layouts are available:
* a basic qwerty layer * a basic qwerty layer
* a layer for numeric input, arrows, and punctuation * a layer for numeric input, arrows, and punctuation
* a layer for function keys, media keys, and arrows * a layer for function keys, media keys, and arrows
* a cyrillic layer (ЙЦУКЕН) * a cyrillic layer (ЙЦУКЕН based); the э key is moved to an overlay on е
* a dialer/numeric layer * a dialer/numeric layer
* ``mobile-plain`` - This is a plain layout with only a qwerty layer and numeric/punctuation layer. It was * ``mobile-plain`` - This is a plain layout with only a qwerty layer and numeric/punctuation layer. It was
originally made for [sxmo](https://sr.ht/~mil/Sxmo/). originally made for [sxmo](https://sr.ht/~mil/Sxmo/).

View File

@ -202,10 +202,7 @@ static Key overlay[OVERLAYS] = {
{ 0, XK_Cyrillic_ie }, //New overlay { 0, XK_Cyrillic_ie }, //New overlay
//--- //---
{ "ё", XK_Cyrillic_io }, { "ё", XK_Cyrillic_io },
{ 0, XK_Cancel }, /* XK_Cancel signifies overlay boundary */ { "э", XK_Cyrillic_e },
//---
{ 0, XK_Cyrillic_e }, //New overlay
//---
{ "Є", XK_Ukrainian_ie }, { "Є", XK_Ukrainian_ie },
{ 0, XK_Cancel }, /* XK_Cancel signifies overlay boundary */ { 0, XK_Cancel }, /* XK_Cancel signifies overlay boundary */
//--- //---
@ -414,7 +411,7 @@ static Key keys_functions[KEYS] = {
static Key keys_ru[KEYS] = { static Key keys_ru[KEYS] = {
{ "и", XK_Cyrillic_shorti, 1 }, { "й", XK_Cyrillic_shorti, 1 },
{ "ц", XK_Cyrillic_tse, 1 }, { "ц", XK_Cyrillic_tse, 1 },
{ "у", XK_Cyrillic_u, 1 }, { "у", XK_Cyrillic_u, 1 },
{ "к", XK_Cyrillic_ka, 1 }, { "к", XK_Cyrillic_ka, 1 },
@ -433,11 +430,11 @@ static Key keys_ru[KEYS] = {
{ "в", XK_Cyrillic_ve, 1 }, { "в", XK_Cyrillic_ve, 1 },
{ "а", XK_Cyrillic_a, 1 }, { "а", XK_Cyrillic_a, 1 },
{ "п", XK_Cyrillic_pe, 1 }, { "п", XK_Cyrillic_pe, 1 },
{ "р", XK_Cyrillic_er, 1 },
{ "о", XK_Cyrillic_o, 1 }, { "о", XK_Cyrillic_o, 1 },
{ "л", XK_Cyrillic_el, 1 }, { "л", XK_Cyrillic_el, 1 },
{ "д", XK_Cyrillic_de, 1 }, { "д", XK_Cyrillic_de, 1 },
{ "ж", XK_Cyrillic_zhe, 1 }, { "ж", XK_Cyrillic_zhe, 1 },
{ "э", XK_Cyrillic_e, 1 },
{ "ю", XK_Cyrillic_yu, 1 }, { "ю", XK_Cyrillic_yu, 1 },
{ 0 }, /* New row */ { 0 }, /* New row */