From 852fa8ceb0a786ee17e2dc1f50faff1bcaf8798e Mon Sep 17 00:00:00 2001 From: Lu Baumann Date: Fri, 17 Nov 2023 20:15:20 +0100 Subject: [PATCH] updated for new xkb --- patches/de_koy | 4 ++-- patches/de_neo_base | 16 ++++++++-------- patches/level3 | 5 +---- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/patches/de_koy b/patches/de_koy index debce4a..cad99af 100644 --- a/patches/de_koy +++ b/patches/de_koy @@ -4,7 +4,7 @@ xkb_symbols "kou" { include "de(koy_base)" - key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_WITH_LEVEL5_LOCK"; // level 4: replace numero sign by heavy check mark (key 3) key { [ NoSymbol, NoSymbol, NoSymbol, NoSymbol, U2714, NoSymbol, NoSymbol, NoSymbol ] }; @@ -20,7 +20,7 @@ xkb_symbols "kou" { // move comma and endash to QWERTZ-C key key { [ comma, endash, NoSymbol, U03F1, NoSymbol, NoSymbol, U21D2, NoSymbol ] }; - key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK"; // move f and ssharp keys to new positions, replace at by rightarrow; level4: replace period with semicolon key { [ f, F, ampersand, Greek_phi, KP_Add, KP_Add, Greek_PHI, NoSymbol ] }; key { [ ssharp, U1E9E, rightarrow, Greek_finalsmallsigma, semicolon, KP_Decimal, jot, NoSymbol ] }; diff --git a/patches/de_neo_base b/patches/de_neo_base index f2a7571..11cd46c 100644 --- a/patches/de_neo_base +++ b/patches/de_neo_base @@ -26,7 +26,7 @@ xkb_symbols "neo_base" { // Alphanumeric-keys // =============== - key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_WITH_LEVEL5_LOCK"; // Tab as Multi_key (Compose) // -------------------------------------------------------------- @@ -54,7 +54,7 @@ xkb_symbols "neo_base" { // Top row // -------------------------------------------------------------- - key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK"; key { symbols[Group1] = [ x, X, ellipsis, Greek_xi, Prior, Prior, Greek_XI, NoSymbol ], actions[Group1] = [ NoAction(), NoAction(), NoAction(), NoAction(), RedirectKey(key=), RedirectKey(key=), NoAction(), NoAction() ]}; key { symbols[Group1] = [ v, V, underscore, NoSymbol, BackSpace, BackSpace, radical, NoSymbol ], @@ -74,12 +74,12 @@ xkb_symbols "neo_base" { key { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, U2212, NoSymbol, jot, NoSymbol ] }; - key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_WITH_LEVEL5_LOCK"; key { [ dead_acute, dead_tilde, dead_stroke, dead_psili, dead_doubleacute, NoSymbol, dead_breve, NoSymbol ] }; // Middle row // -------------------------------------------------------------- - key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK"; key { symbols[Group1] = [ u, U, backslash, NoSymbol, Home, Home, includedin, NoSymbol ], actions[Group1] = [ NoAction(), NoAction(), NoAction(), NoAction(), RedirectKey(key=), RedirectKey(key=), NoAction(), NoAction() ]}; key { symbols[Group1] = [ i, I, slash, Greek_iota, Left, Left, integral, NoSymbol ], @@ -114,12 +114,12 @@ xkb_symbols "neo_base" { key { [ b, B, plus, Greek_beta, colon, NoSymbol, U21D0, NoSymbol ] }; key { [ m, M, percent, Greek_mu, KP_1, KP_1, ifonlyif, NoSymbol ] }; - key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_WITH_LEVEL5_LOCK"; key { [ comma, endash, quotedbl, U03F1, KP_2, KP_2, U21D2, NoSymbol ] }; key { [ period, enfilledcircbullet, apostrophe, U03D1, KP_3, KP_3, U21A6, NoSymbol ] }; - key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK"; key { [ j, J, semicolon, Greek_theta, semicolon, NoSymbol, Greek_THETA, NoSymbol ] }; - key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK"; + key.type[Group1] = "EIGHT_LEVEL_WITH_LEVEL5_LOCK"; // Space key // -------------------------------------------------------------- @@ -163,4 +163,4 @@ xkb_symbols "neo_base" { // -------------------------------------------------------------- key { [ KP_0, U2423, percent, U2030, KP_Insert, KP_Insert, U25A1, NoSymbol ] }; key { [ KP_Separator, period, comma, minutes, KP_Delete, KP_Delete, seconds, NoSymbol ] }; -}; \ No newline at end of file +}; diff --git a/patches/level3 b/patches/level3 index 6eb4990..fe3b0b7 100644 --- a/patches/level3 +++ b/patches/level3 @@ -2,8 +2,5 @@ // The Quote key (while pressed) chooses the third shift level. partial modifier_keys xkb_symbols "quote_switch" { - key { - type[Group1]="ONE_LEVEL", - symbols[Group1] = [ ISO_Level3_Shift ] - }; + key {[ ISO_Level3_Shift ], type[group1]="ONE_LEVEL" }; };