Salut Yahyalexandre,
Je réponds un peu tard. Mais ça prend beaucoup de temps de bidouiller.
Je parviens pas à mettre en œuvre le «level5». Il y a quelque chose qui m’échappe.
Il me semble pourtant avoir fait comme tu as dis.
Voici mon code, est que tu vois une erreur ?
// ******************************
// * Kéa_ToucheLibre_ISO105 *
// ******************************
//
// Kéa_ToucheLibre_ISO105 for keyboard ISO 105 (french layout for example)
//
// ToucheLibre Keyboard is truly ergonomic keyboard designed with free philosophy.
// Kéa is a Bépo variant disposition for the ToucheLibre Keyboard.
// Kéa, like Bépo, is improved ergonomic french keymap using Dvorak method.
// But, Kéa
//
// Kéa is tuned for french, english and spanish languages (the 3 european languages with international status).
// All the language with latin alphabet can be whritten with Kéa.
// And a lot of language get a not so bad optimization about frequency letter disposition (always better than Qwerty).
//
// ToucheLibre Keyboard is designed for a good accessibility to scientific symbol and phonetical alphabet.
//
// see http://touchelibre.fr
// Not integrated in XOrg
// Version : V1.0 in mars 2019
// by Lilian Tribouilloy <lilian@touchelibre.fr>
//
//
//
// ********** First Table **********
//
// ┌─────┐
// │ S A │ S = Shift, A = AltGr + Shift
// │ s a │ s = direct, a = AltGr
// └─────┘
// Same layout than Kéa_ToucheLibre_ISO88 but first row and keypad are modified.
// This layout is very close to the original Kéa for keyboard ToucheLibre.
// So this layout should be proefered to Kéa_ToucheLibre_ISO88.
//
// ┌─────┲━━━━━┯━━━━━┯━━━━━┯━━━━━┯━━━━━┳━━━━━┯━━━━━┳━━━━━┯━━━━━┯━━━━━┯━━━━━┯━━━━━┳━━━━━━━━━┓ ┏━━━━━┱─────┬─────┬─────┐
// │ Ç ˛ ║ ` ¶ │ \ ¦ │ & ☹ │ # ✆ │ ' ‡ ║ ‹ ‘ │ › ’ ║ - – │ ⩽ ♀ │ ⩾ ♂ │ ° ″ │ ® ™ ║ ⌫ Retour┃ ┃ e √ ┃ ÷ ¬ │ × ∘ │ − ∂ │
// │ ç ¸ ║ ~ § │ / | │ $ ☺ │ @ ✉ │ " † ║ « “ │ » ” ║ -⍽ —│ < ≪ │ > ≫ │ % ′ │ © ? ║ arrière┃ ┃ ^ ⏨ ┃ / : │ * ⋅ │ - ∓ │
// ┢━━━━━┻═┳═━═┷═┯═━═┷═┯═━═┷═┯═━═┷═┯═━═┻═┱───┴─┬───┺═┳═━═┷═┯═━═┷═┯═━═┷═┯═━═┷═┯═━═┻━┳━━━━━━━┫ ┡━━━━━╃─────┼─────┼─────┤
// ┃ ↹ ┃ K ͜ │ É ˝ │ P ̺ │ U Ù │ V ̭ ║ [ ⟨ │ ] ⟩ ║ L ɬ │ C Ɔ │ D Ð │ M ̱ │ Z ̮ ┃ ┃ │ ( ℂ │ ) ℍ │ ∞ ∃ │ │
// ┃ Tab ┃ k ͡ │ é ˊ │ p ̪ │ u ù │ v ˇ ║ ( { │ ) } ║ l / │ c ɔ │ d ð │ m ¯ │ z ̑ ┃Entrée ┃ │ 7 i │ 8 j │ 9 ∀ │ │
// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┺┱────┴┬────┺┱────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ ├─────┼─────┼─────┤ ± ∫ │
// ┃ ⇬ ┃ È ̏ │ O Œ │ A Æ │ I ˙ │ E Ə ║ ; ̛ │ : · ║ R ʁ │ S ẞ │ T Þ │ N ̰ │ X ̟ ┃ ⏎ ┃ │ D ⅅ │ E ℚ │ F ℝ │ + ∑ │
// ┃ Level5 ┃ è ` │ o œ │ a æ │ i ̈ │ e ə ║ , , │ . … ║ r ɹ │ s ß │ t þ │ n ˜ │ x ̽ ┃ ┃ │ 4 → │ 5 ⇒ │ 6 ⇔ │ │
// ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┲┹────┬┴────┲┹────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫ ├─────┼─────┼─────╆━━━━━┪
// ┃ ⇧ ┃ À ̥ │ F Ʃ │ Y ʎ │ J Ʒ │ W ʍ ║ ! ⚠ │ ? ║ H ɧ │ G ɲ │ B ǁ │ Q ̢ ┃ ¦ ⇧ ┃ │ A ℙ │ B ℕ │ C ℤ ┃ ┃
// ┃ MAJ ┃ à ˚ │ f ʃ │ y ɥ │ j ʒ │ w ̆ ║ ’ ¡ │ ˆ ¿ ║ h ̵ │ g µ │ b ǀ │ q ̡ ┃ (ç) ¦ MAJ ┃ │ 1 € │ 2 $ │ 3 ¤ ┃ ┃
// ┣━━━━━┳━┻━━━┳━┷━━━┳━┷━━━┱─┴─────┴─────┺━━━━━┷━━━━━┹─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━━━━━┫ ├─────┴─────┼─────┨ ≈ ≝ ┃
// ┃ ⎈ ┃ ┃ ⌘ ┃ ⌥ ┃ ½⍽ ½ spc inséc. ⍽ spc inséc. ┃ ⇮ ┃ ┃ ↑ ┃ │ x ∅ │ . ∈ ┃ = ≠ ┃
// ┃Ctrl ┃ Fn ┃Meta ┃ Alt ┃ ␣ Espace _ under score ┃ AltGr ┃ Compo ┃ ← ↓ → ┃ │ 0 b │ , ½⍽┃ ┃
// ┗━━━━━┻━━━━━┻━━━━━┻━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━━━━━┛ └───────────┴─────┺━━━━━┛
//
//
//
// ********** Second Table **********
//
// ┌─────┐
// │ L G │ L = Shift + level 5 = Level 6, G = Greek + Shift
// │ l g │ l = level 5, g = Greek
// └─────┘
// level 5 is done with Maj Lock key.
// New Maj Lock is done with both shift in same time.
// Greek is the dead_greek key = AltGr + g
// L3 (AltGr) + L5 = L7 and Shift + L3 + L5 = L8 could be added.
//
// ┌─────┲━━━━━┯━━━━━┯━━━━━┯━━━━━┯━━━━━┳━━━━━┯━━━━━┳━━━━━┯━━━━━┯━━━━━┯━━━━━┯━━━━━┳━━━━━━━━━┓ ┏━━━━━┱─────┬─────┬─────┐
// │ Ꞌ Ϙ ║ ☑ Ͼ │⛔ Ͽ │ ☠ Ϗ │ ? Ͱ │ ⚔ ϵ ║ ‟ ̞ │ ‛ ̙ ║ ⧫ ϕ │ ≼ Ϛ │ ≽ Ͳ │ º Ϻ │ ℗ Ͷ ║ ⌫ Retour┃ ┃ ┃ │ │ │
// │ ꞌ ϙ ║ ☐ ͼ │◌ ⃠ ͽ │ ♥ ϗ │ ? ͱ │ ⛏ ϖ ║ „ ̝ │ ‚ ̘ ║ ▶ ϱ │ ≺ ϛ │ ≻ ͳ │ ª ϻ │ ? ͷ ║ arrière┃ ┃ ┃ │ │ │
// ┢━━━━━┻═┳═━═┷═┯═━═┷═┯═━═┷═┯═━═┷═┯═━═┻═┱───┴─┬───┺═┳═━═┷═┯═━═┷═┯═━═┷═┯═━═┷═┯═━═┻━┳━━━━━━━┫ ┡━━━━━╃─────┼─────┼─────┤
// ┃ ↹ ┃ ̯ Κ │ ɵ Ϝ │ ̚ Π │ ɰ Υ │ Ʌ ϴ ║ ⌈ │ ⌉ ᷅ ║ ̴ Λ │◌ɕ ϐ │ ̹ Δ │ ̼ Μ │ Ȝ Ζ ┃ ┃ │ │ │ │ │
// ┃ Tab ┃ ̩ κ │ ɘ ϝ │ ̻ π │ ɯ υ │ ʌ ϑ ║ ⌊ ͅ │ ⌋ ᷄ ║ ɮ λ │ ɕ ς │ ̜ δ │ ɱ μ │ ȝ ζ ┃Entrée ┃ │ │ │ │ │
// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┺┱────┴┬────┺┱────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ ├─────┼─────┼─────┤ │
// ┃ ⇬ ┃ ɞ Ϡ │ ʘ Ο │ ɒ Α │◌̣ Ι │◌˞ Ε ║ ˑ │ ◼ ᷉ ║ ɺ Ρ │ ſ Σ │ Ƿ Τ │ Ŋ Ν │ Ȣ Χ ┃ ⏎ ┃ │ │ │ │ │
// ┃ Level5 ┃ ɜ ϡ │◌⤉ ο │ ɑ α │ ̤ ι │ ɚ ε ║ ː ̓ │ • ̍ ║ ɾ ρ │◌̉ σ │ ƿ τ │ ŋ ν │ ȣ χ ┃ ┃ │ │ │ │ │
// ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┲┹────┬┴────┲┹────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫ ├─────┼─────┼─────╆━━━━━┪
// ┃ ⇧ ┃ Ɐ Ϟ │ ƒ Φ │ Ƴ Ψ │ Ƹ Θ │ Ʊ Ω ║ ˌ │ ‽ ║ ʕ Η │ ᵹ Γ │ ǃ Β │ ɣ Ξ ┃ ¦ ⇧ ┃ │ │ │ ┃ ┃
// ┃ MAJ ┃ ɐ ϟ │ ɸ φ │ ƴ ψ │ ƹ θ │ ʊ ω ║ ˈ ̔ │ ⸮ ◌̈́ ║ ʔ η │ ɡ γ │ ǂ β │ ɤ ξ ┃ (ç) ¦ MAJ ┃ │ │ │ ┃ ┃
// ┣━━━━━┳━┻━━━┳━┷━━━┳━┷━━━┱─┴─────┴─────┺━━━━━┷━━━━━┹─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━━━━━┫ ├─────┴─────┼─────┨ ┃
// ┃ ⎈ ┃ ┃ ⌘ ┃ ⌥ ┃ ⍽ ┃ ⇮ ┃ ┃ ↑ ┃ │ │ ┃ ┃
// ┃Ctrl ┃ Fn ┃Meta ┃ Alt ┃ ␣ ┃ AltGr ┃ Compo ┃ ← ↓ → ┃ │ │ ┃ ┃
// ┗━━━━━┻━━━━━┻━━━━━┻━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━━━━━┛ └───────────┴─────┺━━━━━┛
//
//
//
// ********** Code Part *************
//
partial alphanumeric_keys
xkb_symbols "bepo_latin9" {
include "level3(ralt_switch)"
include "keypad(oss)"
include "level5(modifier_mapping)"
include "shift(both_capslock)"
key.type[Group1] = "EIGHT_LEVEL";
name[Group1]="French (Bepo, ergonomic, Dvorak way, Latin-9 only)";
// Level 5 definition
key <CAPS> { type[Group1]="ONE_LEVEL", symbols[Group1] = [ ISO_Level5_Shift ] };
// First row
key <TLDE> { [ ccedilla, Ccedilla, dead_cedilla, dead_ogonek, UA78C, UA78B ] }; // ç Ç ¸ ˛ ꞌ Ꞌ
key <AE01> { [ asciitilde, grave, section, U00B6, U2610, U2611 ] }; // ~ ` § ¶ ☐ ☑
key <AE02> { [ slash, backslash, bar, U00A6, U20E0, U26D4 ] }; // / \ | ¦ ◌ ⃠ ⛔
key <AE03> { [ dollar, ampersand, U263A, U2639, U2665, U2620 ] }; // $ & ☺ ☹ ♥ ☠
key <AE04> { [ at, numbersign, U2709, U2706, U1F4A1, U1F340 ] }; // @ # ✉ ✆ ? ?
key <AE05> { [ quotedbl, apostrophe, dagger, doubledagger, U26CF, U2694 ] }; // " ' † ‡ ⛏ ⚔
key <AE06> { [ guillemotleft, U2039, U201C, U2018, U201E, U201F ] }; // « ‹ “ ‘ „ ‟
key <AE07> { [ guillemotright, U203A, U201D, U2019, U201A, U201B ] }; // » › ” ’ ‚ ‛
key <AE08> { [ U2011, minus, U2212, emdash, U25B6, U29EB ] }; // -⍽ - − — ▶ ⧫
key <AE09> { [ less, U2A7D, U226A, U2640, U227A, U227C ] }; // < ⩽ ≪ ♀ ≺ ≼
key <AE10> { [ greater, U2A7E, U226B, U2642, U227B, U227D ] }; // > ⩾ ≫ ♂ ≻ ≽
key <AE11> { [ percent, degree, minutes, seconds, U00AA, U00BA ] }; // % ° ′ ″ ª º
key <AE12> { [ copyright, registered, U1F12F, trademark, U1F6C8, U2117 ] }; // © ® ? ™ ? ℗
// Second row
key <AD01> { [ k, K, U0361, U035C, U0329, U032F ] }; // k K ͡ ͜ ̩ ̯
key <AD02> { [ eacute, Eacute, dead_acute, dead_doubleacute, U0258, U0275 ] }; // é É ˊ ˝ ɘ ɵ
key <AD03> { [ p, P, U032A, U033A, U033B, U031A ] }; // p P ̪ ̺ ̻ ̚
key <AD04> { [ u, U, ugrave, Ugrave, U026F, U0270 ] }; // u U ù Ù ɯ ɰ
key <AD05> { [ v, V, dead_caron, U032D, U028C, U0245 ] }; // v V ˇ ̭ ʌ Ʌ
key <AD06> { [ parenleft, bracketleft, braceleft, U27E8, U230A, U2308 ] }; // ( [ { ⟨ ⌊ ⌈
key <AD07> { [ parenright, bracketright, braceright, U27E9, U230B, U2309 ] }; // ) ] } ⟩ ⌋ ⌉
key <AD08> { [ l, L, dead_stroke, U026C, U026E, U0334 ] }; // l L / ɬ ɮ ̴
key <AD09> { [ c, C, U0254, U0186, U0255 ] }; // c C ɔ Ɔ ɕ ◌ɕ
key <AD10> { [ d, D, eth, ETH, U031C, U0339 ] }; // d D ð Ð ̜ ̹
key <AD11> { [ m, M, dead_macron, U0331, U0271, U033C ] }; // m M ̄ ̱ ɱ ̼
key <AD12> { [ z, Z, U0311, U032E, U021D, U021C ] }; // z Z ̑ ̮ ȝ Ȝ
// Third row
key <AC01> { [ egrave, Egrave, dead_grave, U030F, U025C, U025E ] }; // è È ` ̏ ɜ ɞ
key <AC02> { [ o, O, oe, OE, U0298 ] }; // o O œ Œ ◌⤉ ʘ
key <AC03> { [ a, A, ae, AE, U0251, U0252 ] }; // a A æ Æ ɑ ɒ
key <AC04> { [ i, I, dead_diaeresis, dead_abovedot, U0324, U0323 ] }; // i I ̈ ˙ ̤ ◌̣
key <AC05> { [ e, E, schwa, SCHWA, U025A, U02DE ] }; // e E ə Ə ɚ ◌˞
key <AC06> { [ comma, semicolon, dead_belowcomma, dead_horn, U02D0, U02D1 ] }; // , ; , ̛ ː ˑ
key <AC07> { [ period, colon, ellipsis, periodcentered, U2022, U25FC ] }; // . : … · • ◼
key <AC08> { [ r, R, U0279, U0281, U027E, U027A ] }; // r R ɹ ʁ ɾ ɺ
key <AC09> { [ s, S, ssharp, U1E9E, U0309, U017F ] }; // s S ß ẞ ◌̉ ſ
key <AC10> { [ t, T, thorn, THORN, U01BF, U01F7 ] }; // t T þ Þ ƿ Ƿ
key <AC11> { [ n, N, dead_tilde, U0330, U014B, U014A ] }; // n N ̃ ̰ ŋ Ŋ
key <BKSL> { [ x, X, U033D, U031F, U0223, U0222 ] }; // x X ̽ ̟ ȣ Ȣ
// Fourth row
key <LSGT> { [ agrave, Agrave, dead_abovering, U0325, U0250, U2C6F ] }; // à À ˚ ̥ ɐ Ɐ
key <AB01> { [ f, F, U0283, U01A9, U0278, U0192 ] }; // f F ʃ Ʃ ɸ ƒ
key <AB02> { [ y, Y, U0265, U028E, U01B4, U01B3 ] }; // y Y ɥ ʎ ƴ Ƴ
key <AB03> { [ j, J, U0292, U01B7, U01B9, U01B8 ] }; // j J ʒ Ʒ ƹ Ƹ
key <AB04> { [ w, W, dead_breve, U028D, U028A, U01B1 ] }; // w W ̆ ʍ ʊ Ʊ
key <AB05> { [ U2019, exclam, exclamdown, U26A0, U02C8, U02CC ] }; // ’ ! ¡ ⚠ ˈ ˌ
key <AB06> { [ dead_circumflex, question, questiondown, U2BD1, U2E2E, U203D ] }; // ^ ? ¿ ⯑ ⸮ ‽
key <AB07> { [ h, H, U0335, U0267, U0294, U0295 ] }; // h H ̵ ɧ ʔ ʕ
key <AB08> { [ g, G, dead_greek, U0272, U0261, U1D79 ] }; // g G µ ɲ ɡ ᵹ
key <AB09> { [ b, B, U01C0, U01C1, U01C2, U01C3 ] }; // b B ǀ ǁ ǂ ǃ
key <AB10> { [ q, Q, U0321, U0322, U0264, U0263 ] }; // q Q ̡ ̢ ɤ ɣ
// Fifth row
key <SPCE> { [ space, U202F, underscore, nobreakspace, U2423, U237D ] }; // ␣ ½⍽ _ ⍽ ␣ ⍽
};
//
Merci
À+