diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2013-02-28 15:01:09 +0100 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2013-03-02 00:14:37 +0000 |
commit | fa2f330df22511c3846cb1cb0760551c6e244a81 (patch) | |
tree | 9134f72d2e606d5e6880533f5fcc521069a82ca5 /symbols/compose | |
parent | 9993f996e75232385b19cc5078f7fecde6b399b9 (diff) | |
download | xkeyboard-config-fa2f330df22511c3846cb1cb0760551c6e244a81.tar.gz |
Add various compose:*-altgr options.
Using existing compose:* options add a compose key (or multi key) to
the keyboard but at the cost of taking away some other symbols. This
commit introduces compose:*-altgr variants make given key act as
compose key only if alternative group is active (think: AltGr is
pressed). This way, the main functionality of the key is still there,
but at the same time compose key is available.
Diffstat (limited to 'symbols/compose')
-rw-r--r-- | symbols/compose | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/symbols/compose b/symbols/compose index d725732..08446bf 100644 --- a/symbols/compose +++ b/symbols/compose @@ -9,36 +9,71 @@ xkb_symbols "lwin" { }; partial modifier_keys +xkb_symbols "lwin-altgr" { + key <LWIN> { type[Group1]="FOUR_LEVEL", [ Super_L, Super_L, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "rwin" { key <RWIN> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; partial modifier_keys +xkb_symbols "rwin-altgr" { + key <RWIN> { type[Group1]="FOUR_LEVEL", [ Super_R, Super_R, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "menu" { key <MENU> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; partial modifier_keys +xkb_symbols "menu-altgr" { + key <MENU> { type[Group1]="FOUR_LEVEL", [ Menu, Menu, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "rctrl" { key <RCTL> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; partial modifier_keys +xkb_symbols "rctrl-altgr" { + key <RCTL> { type[Group1]="FOUR_LEVEL", [ Control_R, Control_R, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "lctrl" { key <LCTL> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; partial modifier_keys +xkb_symbols "lctrl-altgr" { + key <LCTL> { type[Group1]="FOUR_LEVEL", [ Control_L, Control_L, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "caps" { key <CAPS> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; partial modifier_keys +xkb_symbols "caps-altgr" { + key <CAPS> { type[Group1]="FOUR_LEVEL", [ Caps_Lock, Caps_Lock, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "102" { key <LSGT> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; partial modifier_keys +xkb_symbols "102-altgr" { + key <LSGT> { type[Group1]="FOUR_LEVEL", [ less, greater, Multi_key, Multi_key ] }; +}; + +partial modifier_keys xkb_symbols "paus" { key <PAUS> { type[Group1]="TWO_LEVEL", [ Multi_key, Multi_key ] }; }; |