From 10c5178c82b845e018d09dceb27cace1e00e9fb4 Mon Sep 17 00:00:00 2001 From: Andreas Wettstein Date: Wed, 21 Nov 2012 20:52:23 +0100 Subject: [PATCH] Allow to use Neo2 with Level5 shift in second group (#50935) Make sure LevelFive is bound to real modifier Mod3 by using a fake keycode when LSGT is a ISO_Level5_Shift. Using the fake keycode will probably prevent group switching for non-XKB-capable clients, Mode_switch is not bound to the "compatibility modifier" AltGr == Mod1 anymore. Also include LSGT in the de layout directly, so that it can be used as second layout together with a first layout that remaps LSGT. Signed-off-by: Andreas Wettstein --- symbols/de | 1 + symbols/level5 | 7 ++++++- 2 Dateien geändert, 7 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/symbols/de b/symbols/de index ac95d88..b3c45cc 100644 --- a/symbols/de +++ b/symbols/de @@ -43,6 +43,7 @@ xkb_symbols "basic" { key { [ comma, semicolon, periodcentered, multiply ] }; key { [ period, colon, U2026, division ] }; key { [ minus, underscore, endash, emdash ] }; + key {[ less, greater, bar, brokenbar ] }; include "kpdl(comma)" diff --git a/symbols/level5 b/symbols/level5 index ce219b5..6215696 100644 --- a/symbols/level5 +++ b/symbols/level5 @@ -19,7 +19,12 @@ xkb_symbols "lsgt_switch" { type[Group1]="ONE_LEVEL", symbols[Group1] = [ ISO_Level5_Shift ] }; - modifier_map Mod3 { ISO_Level5_Shift }; + replace key { + vmods = LevelFive, + symbols[Group1] = [ ISO_Level5_Shift ], + actions[Group1] = [ SetMods(modifiers=LevelFive) ] + }; + modifier_map Mod3 { }; }; partial modifier_keys -- 1.7.11.3