From 79cfa8220fc316b1eb47eb2f803e494bca693dd4 Mon Sep 17 00:00:00 2001 From: stephan Date: Wed, 20 May 2009 12:23:46 +0000 Subject: Mappen von LevelFive auf Mod3 in die einzelnen Optionen ausgelagert. git-svn-id: https://svn.neo-layout.org@1865 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- linux/X/symbols/level5 | 71 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 10 deletions(-) (limited to 'linux/X/symbols/level5') diff --git a/linux/X/symbols/level5 b/linux/X/symbols/level5 index 288555b..8bda615 100644 --- a/linux/X/symbols/level5 +++ b/linux/X/symbols/level5 @@ -19,12 +19,17 @@ xkb_symbols "rctrl_switch" { // The following modifier keys are used to switch to the third shift and to set a // corresponding lock, implemented as NumLock. They do not use *Level5* keysyms, -// as some applications get confused by it. The modifiers are to be used in -// pairs of a 'left' and a 'right' one. +// as some applications get confused by it. -// Left modifier partial modifier_keys xkb_symbols "lsgt_switch_numlock" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL", @@ -33,9 +38,16 @@ xkb_symbols "lsgt_switch_numlock" { }; modifier_map Mod2 { }; }; -// Left modifier + partial modifier_keys xkb_symbols "lwin_switch_numlock" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL", @@ -45,9 +57,15 @@ xkb_symbols "lwin_switch_numlock" { modifier_map Mod2 { }; }; -// Right modifier partial modifier_keys xkb_symbols "ralt_switch_numlock" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL", @@ -56,9 +74,16 @@ xkb_symbols "ralt_switch_numlock" { }; modifier_map Mod2 { }; }; -// Right modifier + partial modifier_keys xkb_symbols "rwin_switch_numlock" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL", @@ -68,9 +93,15 @@ xkb_symbols "rwin_switch_numlock" { modifier_map Mod2 { }; }; -// Left modifier partial modifier_keys xkb_symbols "lsgt_switch_numlock_cancel" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL_NEO_LOCKS", @@ -79,9 +110,16 @@ xkb_symbols "lsgt_switch_numlock_cancel" { }; modifier_map Mod2 { }; }; -// Left modifier + partial modifier_keys xkb_symbols "lwin_switch_numlock_cancel" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL_NEO_LOCKS", @@ -91,9 +129,15 @@ xkb_symbols "lwin_switch_numlock_cancel" { modifier_map Mod2 { }; }; -// Right modifier partial modifier_keys xkb_symbols "ralt_switch_numlock_cancel" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL_NEO_LOCKS", @@ -102,9 +146,16 @@ xkb_symbols "ralt_switch_numlock_cancel" { }; modifier_map Mod2 { }; }; -// Right modifier + partial modifier_keys xkb_symbols "rwin_switch_numlock_cancel" { + key { + type[Group1] = "ONE_LEVEL", + vmods[Group1] = LevelFive, + symbols[Group1] = [ NoSymbol ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; key { vmods= NumLock, key.type[Group1] = "EIGHT_LEVEL_NEO_LOCKS", -- cgit v1.2.3