commit 79ff93369c5039d65188ad5e1cc6e8fb6c553af5
parent 02a2f77fbbfdf83b19f4f6b94597d4c2c70a3153
Author: Maarten van Gompel <proycon@anaproy.nl>
Date: Fri, 11 Dec 2020 17:45:55 +0100
fixed russian keyboard layout in mobile-intl, Р key was missing, moved З to an overlay on е because of lack of space
Diffstat:
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
@@ -32,7 +32,7 @@ The following layouts are available:
* a basic qwerty layer
* a layer for numeric input, arrows, and punctuation
* 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
* ``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/).
diff --git a/layout.mobile-intl.h b/layout.mobile-intl.h
@@ -202,10 +202,7 @@ static Key overlay[OVERLAYS] = {
{ 0, XK_Cyrillic_ie }, //New overlay
//---
{ "ё", XK_Cyrillic_io },
- { 0, XK_Cancel }, /* XK_Cancel signifies overlay boundary */
- //---
- { 0, XK_Cyrillic_e }, //New overlay
- //---
+ { "э", XK_Cyrillic_e },
{ "Є", XK_Ukrainian_ie },
{ 0, XK_Cancel }, /* XK_Cancel signifies overlay boundary */
//---
@@ -414,7 +411,7 @@ static Key keys_functions[KEYS] = {
static Key keys_ru[KEYS] = {
- { "и", XK_Cyrillic_shorti, 1 },
+ { "й", XK_Cyrillic_shorti, 1 },
{ "ц", XK_Cyrillic_tse, 1 },
{ "у", XK_Cyrillic_u, 1 },
{ "к", XK_Cyrillic_ka, 1 },
@@ -433,11 +430,11 @@ static Key keys_ru[KEYS] = {
{ "в", XK_Cyrillic_ve, 1 },
{ "а", XK_Cyrillic_a, 1 },
{ "п", XK_Cyrillic_pe, 1 },
+ { "р", XK_Cyrillic_er, 1 },
{ "о", XK_Cyrillic_o, 1 },
{ "л", XK_Cyrillic_el, 1 },
{ "д", XK_Cyrillic_de, 1 },
{ "ж", XK_Cyrillic_zhe, 1 },
- { "э", XK_Cyrillic_e, 1 },
{ "ю", XK_Cyrillic_yu, 1 },
{ 0 }, /* New row */