The cyrillic layout was missing a letter, as spotted and reported by
tech_exorcist on
the IRC channel.
(I hope this patch comes through and applies fine, it has some utf-8 in the
subject/commit message)
---
README.md | 2 +-
layout.mobile-intl.h | 9 +++------
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index da863e4..cd54e65 100644
--- 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
index 63bf1ca..3996e6e 100644
--- 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 */
--
2.29.2