From 08fd822805fe90bfef4adbbb3007ac78eaeaf776 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 15 Mar 2023 12:31:33 +0100 Subject: revert commit a9f7e47487, in order to redo it with a full commit message --- rules/base.extras.xml | 2 +- rules/base.xml | 15 +++++++++++++ symbols/ru | 4 ++-- symbols/ua | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 77 insertions(+), 4 deletions(-) diff --git a/rules/base.extras.xml b/rules/base.extras.xml index 0112174..a4b82aa 100644 --- a/rules/base.extras.xml +++ b/rules/base.extras.xml @@ -716,7 +716,7 @@ ruu ru - Russian (plus Ukrainian and Belarusian letters) + Russian (with Ukrainian-Belorussian layout) rus ukr diff --git a/rules/base.xml b/rules/base.xml index 4dd5ef4..a2fd708 100644 --- a/rules/base.xml +++ b/rules/base.xml @@ -6042,6 +6042,21 @@ Ukrainian (legacy) + + + rstu + Ukrainian (standard RSTU) + + + + + rstu_ru + Russian (Ukraine, standard RSTU) + + rus + + + homophonic diff --git a/symbols/ru b/symbols/ru index 2a77083..83ea570 100644 --- a/symbols/ru +++ b/symbols/ru @@ -868,7 +868,7 @@ xkb_symbols "chu" { }; -// RUU (Russian-Ukrainian-Belarusian United keyboard layout). +// RUU (Russian-Ukrainian United keyboard layout). // This is a modified Russian standard keyboard, with the third level containing // Ukrainian and Belorusian alphabetic letters and commonly used Unicode symbols. // For a description see http://wiki.opennet.ru/RUU [in Russian]. @@ -895,7 +895,7 @@ partial alphanumeric_keys xkb_symbols "ruu" { include "ru(common)" - name[Group1]= "Russian (plus Ukrainian and Belarusian letters)"; + name[Group1]= "Russian (with Ukrainian-Belorussian layout)"; key { [ U2019, apostrophe, U0301, asciitilde ] }; // Apostrophe and Stress symbol key { [ 1, exclam, division, U2248 ] }; // Division Sign and Almost Equal To diff --git a/symbols/ua b/symbols/ua index 60d3eac..8297685 100644 --- a/symbols/ua +++ b/symbols/ua @@ -1,4 +1,4 @@ -// Keyboard layouts for Ukraine. +// Keyboard layouts for the Ukraine. // AEN & Leon Kanter , // Andriy Rysin , Oleksiy Protas @@ -232,6 +232,64 @@ xkb_symbols "phonetic" { key { [ slash, question ] }; }; +// Ukrainian RSTU 2019-91 keyboard layout (Respublikanskij STandart Ukrajiny). +// Andrew Porokhnyak +partial alphanumeric_keys +xkb_symbols "rstu" { + + include "ua(legacy)" + + name[Group1]= "Ukrainian (standard RSTU)"; + + key { [ apostrophe, question ] }; + key { [ exclam, 1 ] }; + key { [ quotedbl, 2 ] }; + key { [ numbersign, 3 ] }; + key { [ semicolon, 4 ] }; + key { [ colon, 5 ] }; + key { [ comma, 6 ] }; + key { [ period, 7 ] }; + key { [ asterisk, 8 ] }; + key { [ parenleft, 9 ] }; + key { [ parenright, 0 ] }; + + key { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] }; + + key { [ Cyrillic_i, Cyrillic_I ] }; + + key { [ Ukrainian_i, Ukrainian_I ] }; + key { [ Ukrainian_yi, Ukrainian_YI ] }; + + key { [ slash, percent ] }; +}; + +// Russian RSTU 2019-91 keyboard layout (Respublikanskij STandart Ukrajiny). +// Andrew Porokhnyak +partial alphanumeric_keys +xkb_symbols "rstu_ru" { + + include "ru(common)" + + name[Group1]= "Russian (Ukraine, standard RSTU)"; + + key { [ apostrophe, question ] }; + key { [ exclam, 1 ] }; + key { [ quotedbl, 2 ] }; + key { [ numbersign, 3 ] }; + key { [ semicolon, 4 ] }; + key { [ colon, 5 ] }; + key { [ comma, 6 ] }; + key { [ period, 7 ] }; + key { [ asterisk, 8 ] }; + key { [ parenleft, 9 ] }; + key { [ parenright, 0 ] }; + key { [ slash, percent ] }; + + key.type[group1]="ALPHABETIC"; + + key { [ Cyrillic_io, Cyrillic_IO ] }; +}; + // Homophonic keyboard layout (by Tomas Marko Miljenović), // based on the Ukrainian National Transliteration, // commonly used phonetic layouts for Mac and Win. -- cgit v1.2.1