diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | rules/base.o_s.part | 1 | ||||
-rw-r--r-- | rules/base.xml.in | 6 | ||||
-rw-r--r-- | symbols/capslock | 6 |
4 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2009-06-11 Sergey Udaltsov + + * rules/base.o_s.part, rules/base.xml.in, symbols/capslock: added + caps:super, http://bugs.freedesktop.org/show_bug.cgi?id=22184 + 2009-06-09 Sergey Udaltsov * symbols/ng: fixing 'e with dot below' in ng(olpc), diff --git a/rules/base.o_s.part b/rules/base.o_s.part index d3078bfc..175a214b 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -53,6 +53,7 @@ caps:swapescape = +capslock(swapescape) caps:escape = +capslock(escape) caps:backspace = +capslock(backspace) + caps:super = +capslock(super) ctrl:nocaps = +ctrl(nocaps) ctrl:swapcaps = +ctrl(swapcaps) ctrl:ctrl_ac = +ctrl(ctrl_ac) diff --git a/rules/base.xml.in b/rules/base.xml.in index aaf53585..f4d60e7e 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -4775,6 +4775,12 @@ </option> <option> <configItem> + <name>caps:super</name> + <_description>Make CapsLock an additional Super</_description> + </configItem> + </option> + <option> + <configItem> <name>caps:shiftlock</name> <_description>CapsLock toggles Shift so all keys are affected</_description> </configItem> diff --git a/symbols/capslock b/symbols/capslock index 58599c6e..9a2307eb 100644 --- a/symbols/capslock +++ b/symbols/capslock @@ -41,3 +41,9 @@ xkb_symbols "backspace" { key <CAPS> { [ BackSpace ] }; }; +partial hidden modifier_keys +xkb_symbols "super" { + key <CAPS> { [ Super_L ] }; + modifier_map Mod4 { <CAPS> }; +}; + |