From 317c4ad9520d9654d85bd58cc541a35b52fd8443 Mon Sep 17 00:00:00 2001 From: "Sergey V. Udaltsov" Date: Sat, 27 Mar 2010 00:13:58 +0000 Subject: [PATCH] Added ru(srp), us(srp) http://bugs.freedesktop.org/show_bug.cgi?id=26409 --- rules/base.xml.in | 16 ++++++++++++++++ symbols/ru | 24 ++++++++++++++++++++++++ symbols/us | 22 ++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/rules/base.xml.in b/rules/base.xml.in index f0bb83a..3468c01 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -1301,6 +1301,14 @@ <_description>Group toggle on multiply/divide key + + + srp + <_description>Serbian + eng + srp + + @@ -3489,6 +3497,14 @@ + srp + <_description>Serbian + rus + srp + + + + bak <_description>Bashkirian bak diff --git a/symbols/ru b/symbols/ru index dee1f71..ed4456f 100644 --- a/symbols/ru +++ b/symbols/ru @@ -484,3 +484,27 @@ xkb_symbols "bak" { include "level3(ralt_switch)" }; +// Serbian charecters added as third level symbols to Russian keyboard layout. + +partial default alphanumeric_keys +xkb_symbols "srp" { + include "ru(common)" + include "level3(ralt_switch)" + + name[Group1]= "Russia - Serbian"; + + key { [ 3, numerosign ] }; + key { [ 4, semicolon ] }; + key { [ 5, percent ] }; + key { [ 6, colon ] }; + key { [ 7, question ] }; + key { [ 8, asterisk ] }; + key { [ period, comma ] }; + key { [ backslash, slash ] }; + key { [ Cyrillic_shorti, Cyrillic_SHORTI, U458, U408 ] }; + key { [ Cyrillic_en, Cyrillic_EN, U45A, U40A ] }; + key { [ Cyrillic_el, Cyrillic_EL, U459, U409 ] }; + key { [ Cyrillic_de, Cyrillic_DE, U45F, U40F ] }; + key { [ Cyrillic_zhe, Cyrillic_ZHE, U452, U402 ] }; + key { [ Cyrillic_che, Cyrillic_CHE, U45B, U40B ] }; +}; diff --git a/symbols/us b/symbols/us index c732de6..5221614 100644 --- a/symbols/us +++ b/symbols/us @@ -1051,3 +1051,25 @@ xkb_symbols "chr" { // End alphanumeric section }; + +// Serbian charecters added as third level symbols to US keyboard layout. + +partial alphanumeric_keys +xkb_symbols "srp" { + + name[Group1]= "USA - Serbian"; + + include "us" + + key { [ grave, asciitilde ] }; + key { [ 6, dead_caron, asciicircum, asciicircum ] }; + key { [ l, L, U1C9, U1C8 ] }; + key { [ n, N, U1CC, U1CB ] }; + key { [ z, Z, U1C6, U1C5 ] }; + key { [ e, E, EuroSign, cent ] }; + key { [ d, D, dstroke, Dstroke ] }; + key { [ dead_acute, quotedbl, apostrophe, U315 ] }; + key { [ space, space, nobreakspace, nobreakspace ] }; + + include "level3(ralt_switch)" +}; -- 2.7.4