From 6b47b2e5e95b5f53bd58e0e78bf324a260d789fa Mon Sep 17 00:00:00 2001 From: "Sergey V. Udaltsov" Date: Sat, 6 Aug 2011 21:47:53 +0100 Subject: [PATCH] Small reorganization in ctrl:* option names There was no convention for the option names. Now, where it is possible, the convention is _ (when is mapped to ) --- rules/base.o_s.part | 10 +++++----- rules/base.xml.in | 16 ++++++++-------- symbols/ctrl | 10 +++++----- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/rules/base.o_s.part b/rules/base.o_s.part index 8191a3f..6cf9f14 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -64,11 +64,11 @@ ctrl:nocaps = +ctrl(nocaps) ctrl:lctrl_meta = +ctrl(lctrl_meta) ctrl:swapcaps = +ctrl(swapcaps) - ctrl:ctrl_ac = +ctrl(ctrl_ac) - ctrl:ctrl_aa = +ctrl(ctrl_aa) - ctrl:ctrl_ra = +ctrl(ctrl_ra) - ctrl:ctrl_menu = +ctrl(ctrl_menu) - ctrl:ctrl_ralt = +ctrl(ctrl_ralt) + ctrl:ac_ctrl = +ctrl(ac_ctrl) + ctrl:aa_ctrl = +ctrl(aa_ctrl) + ctrl:rctrl_ralt = +ctrl(rctrl_ralt) + ctrl:menu_rctrl = +ctrl(menu_rctrl) + ctrl:ralt_rctrl = +ctrl(ralt_rctrl) compose:ralt = +compose(ralt) compose:lwin = +compose(lwin) compose:rwin = +compose(rwin) diff --git a/rules/base.xml.in b/rules/base.xml.in index 9199636..062fe1d 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -5602,13 +5602,13 @@ diff --git a/symbols/ctrl b/symbols/ctrl index 55a148f..09d76b5 100644 --- a/symbols/ctrl +++ b/symbols/ctrl @@ -21,7 +21,7 @@ xkb_symbols "swapcaps" { // to the bottom row. Only works if the geometry or keycodes // file has defined appropriate aliases for the keys in question. partial modifier_keys -xkb_symbols "ctrl_ac" { +xkb_symbols "ac_ctrl" { replace key { [ Control_L ] }; replace key { [ Caps_Lock ] }; }; @@ -30,27 +30,27 @@ xkb_symbols "ctrl_ac" { // to the middle row. Only works if the geometry or keycodes // file has defined appropriate aliases for the keys in question. partial modifier_keys -xkb_symbols "ctrl_aa" { +xkb_symbols "aa_ctrl" { replace key { [ Control_L ] }; replace key { [ Caps_Lock ] }; }; // Right Ctrl works as Right Alt partial modifier_keys -xkb_symbols "ctrl_ra" { +xkb_symbols "rctrl_ralt" { key { symbols[Group1]= [ Alt_R ] }; }; // Menu works as Right Ctrl partial modifier_keys -xkb_symbols "ctrl_menu" { +xkb_symbols "menu_rctrl" { replace key { [ Control_R, Control_R ] }; modifier_map Control { Control_L, }; }; // right alt functions as another ctrl key partial modifier_keys -xkb_symbols "ctrl_ralt" { +xkb_symbols "ralt_rctrl" { replace key { type[Group1] = "TWO_LEVEL", symbols[Group1] = [ Control_R, Control_R ] }; modifier_map Control { }; -- 2.32.0.93.g670b81a890