From d0ffcce1136c902844e75bac28efce01b321a8d1 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Tue, 25 Sep 2012 11:31:46 +0200 Subject: [PATCH] adding ctrl:ralt_rctrl_norwin Right Alt as Right Ctrl, Right Win as Right Alt --- rules/base.o_s.part | 1 + rules/base.xml.in | 6 ++++++ symbols/ctrl | 10 ++++++++++ 3 files changed, 17 insertions(+) diff --git a/rules/base.o_s.part b/rules/base.o_s.part index b4772b4..08fd302 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -76,6 +76,7 @@ ctrl:rctrl_ralt = +ctrl(rctrl_ralt) ctrl:menu_rctrl = +ctrl(menu_rctrl) ctrl:ralt_rctrl = +ctrl(ralt_rctrl) + ctrl:ralt_rctrl_norwin = +ctrl(ralt_rctrl_norwin) 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 6c17faa..5f2da45 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -5833,6 +5833,12 @@ <_description>Right Alt as Right Ctrl + diff --git a/symbols/ctrl b/symbols/ctrl index 09d76b5..30a60a6 100644 --- a/symbols/ctrl +++ b/symbols/ctrl @@ -55,3 +55,13 @@ xkb_symbols "ralt_rctrl" { symbols[Group1] = [ Control_R, Control_R ] }; modifier_map Control { }; }; + +// right Alt is mapped to right Win, right Ctrl is mapped to right Alt +partial modifier_keys +xkb_symbols "ralt_rctrl_norwin" { + key { [ Alt_R, Meta_R ] }; + key { [ Control_R, Control_R ] }; + + modifier_map Control { }; + modifier_map Mod1 { }; +}; -- 1.7.10.4