summaryrefslogtreecommitdiff
path: root/symbols/ctrl
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2014-08-18 00:04:02 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2014-08-18 00:04:02 +0100
commite56ecb3002fbcb91e78f32a0e7483050cd375b2a (patch)
treedc3b2e87832d3803d4e03569332a8e26bc5764b3 /symbols/ctrl
parentd2c4d817e3bdd7fd185f489e44957a005d1a41f1 (diff)
downloadxkeyboard-config-e56ecb3002fbcb91e78f32a0e7483050cd375b2a.tar.gz
Add option to swap right alt & right control
https://bugs.freedesktop.org/show_bug.cgi?id=81271
Diffstat (limited to 'symbols/ctrl')
-rw-r--r--symbols/ctrl7
1 files changed, 7 insertions, 0 deletions
diff --git a/symbols/ctrl b/symbols/ctrl
index 785777c..dd68add 100644
--- a/symbols/ctrl
+++ b/symbols/ctrl
@@ -70,6 +70,13 @@ xkb_symbols "swap_lwin_lctl" {
replace key <LCTL> { [ Super_L ] };
};
+// Swap the functions of the right Win key and the right Ctrl key.
+partial modifier_keys
+xkb_symbols "swap_rwin_rctl" {
+ replace key <RWIN> { [ Control_R ] };
+ replace key <RCTL> { [ Super_R ] };
+};
+
// Map Ctrl to the left Alt key, Alt to the left Win key,
// and Super to the left Ctrl key.
partial modifier_keys