Skip to content

Instantly share code, notes, and snippets.

@dgellow
Last active December 19, 2015 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgellow/5915994 to your computer and use it in GitHub Desktop.
Save dgellow/5915994 to your computer and use it in GitHub Desktop.
bépo layout customization
// fr-dvorak-bepo-intl
// Samuel El-Borai 2011
// Adaptations du clavier bepo, basé sur le travail de Kaze :
// http://bepo.fr/wiki/Utilisateur:Kaze/B%C3%A9po-intl
// La plus grande partie des modifications sont pour faciliter l'utilisation du
// bépo en programmation.
// Modifications :
// - déplacement des parenthèses sous <AltGr é> et <AltG p>
// - déplacement des crochets sous <AltGr u> et <AltGr i>
// - déplacement de z, Z et de w,W, et suppression du è (grave) en accès direct.
// - ajout du ` (accent grave) en accès direct (touche morte), à la place du ^
// (circonflexe) qui se retrouve à la place d'origine du Z, en <Shift AD11>.
// - le = passe en accès direct en <AD11>
// - suppression de l'espace insécable en <Shift espace>
//
default
xkb_symbols "custom_bepow" {
include "fr(bepo)"
name[Group1]="French (Custom bepow, by dgellow)";
// guillemets et chevrons en accès direct
key <AE01> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ quotedbl , 1 , emdash , doublelowquotemark ] }; // " 1 — „
key <AE02> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ less , 2 , guillemotleft , leftdoublequotemark ] }; // < 2 « “
key <AE03> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ greater , 3 , guillemotright, rightdoublequotemark ] }; // > 3 » ”
// parenthèses sous la main gauche
key <AD02> { [ eacute, Eacute, parenleft, dead_doubleacute ] }; // é É ( ˝
key <AD03> { [ p, P, parenright, section ] }; // p P ) §
// crochets sous la main gauche
key <AC02> { type[group1] = "FOUR_LEVEL", [ u , U , bracketleft , dead_caron ] }; // u U [ ˇ
key <AC03> { type[group1] = "FOUR_LEVEL", [ i , I , bracketright , dead_diaeresis] }; // i I ] ¨
// & en <AltGr o>
key <AD04> { type[group1] = "FOUR_LEVEL",[ o, O, ampersand, OE ] }; // o O & Œ
// accents morts : grave
key <AD06> { type[group1] = "FOUR_LEVEL", [ dead_grave , exclam , VoidSymbol , exclamdown ] }; // ` ! ¡
// accents morts : circonflex et umlaut sous {W} et {Z}
key <AD11> { type[group1] = "FOUR_LEVEL", [ equal , dead_circumflex , schwa , SCHWA ] }; // = ^ ˇ
key <AD12> { type[group1] = "FOUR_LEVEL", [ dead_diaeresis , dead_caron , dead_breve , VoidSymbol ] }; // ¨ ˘
// W et Z sous la main gauche
key <AD05> { type[group1] = "FOUR_LEVEL", [ w , W , dead_breve, VoidSymbol ] }; // w W
key <AB01> {type[group1] ="FOUR_LEVEL", [ z, Z , backslash , rightsinglequotemark] }; // z Z \ ’
// suppression de l'espace insécable en <Shift espace>
key <SPCE> { [ space, space, underscore, nobreakspace ] }; // ␣ ␣ _ (espace insécable)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment