2009-06-06 11:52:23 -06:00
|
|
|
// typographic keyboard
|
|
|
|
// Sergei Stolyarov <sergei@regolit.com>
|
|
|
|
//
|
|
|
|
// Initial contribution by Alexey Ten <alexeyten+deb@gmail.com>
|
2013-10-26 11:49:57 -06:00
|
|
|
// Additional contribution and code cleanup by Artur Dryomov <artur.dryomov@gmail.com>
|
2009-06-06 11:52:23 -06:00
|
|
|
//
|
2013-10-26 11:49:57 -06:00
|
|
|
// Mainly based on the layout proposed by Ilya Birman,
|
|
|
|
// http://ilyabirman.ru/projects/typography-layout/
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
// default layout
|
2013-10-26 11:49:57 -06:00
|
|
|
default partial
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "base" {
|
|
|
|
// 1st keyboard row
|
|
|
|
key <TLDE> { [NoSymbol, NoSymbol, NoSymbol, approxeq] };
|
2013-10-26 11:49:57 -06:00
|
|
|
key <AE01> { [NoSymbol, NoSymbol, onesuperior, exclamdown] }; // "1"
|
|
|
|
key <AE02> { [NoSymbol, NoSymbol, twosuperior, onehalf] }; // "2"
|
|
|
|
key <AE03> { [NoSymbol, NoSymbol, threesuperior, onethird] }; // "3"
|
|
|
|
key <AE04> { [NoSymbol, NoSymbol, dollar, onequarter] }; // "4"
|
|
|
|
key <AE05> { [NoSymbol, NoSymbol, permille] }; // "5"
|
|
|
|
key <AE06> { [NoSymbol, NoSymbol, uparrow] }; // "6"
|
|
|
|
key <AE07> { [NoSymbol, NoSymbol, ampersand, questiondown] }; // "7"
|
|
|
|
key <AE08> { [NoSymbol, NoSymbol, infinity, oneeighth] }; // "8"
|
|
|
|
key <AE09> { [NoSymbol, NoSymbol, leftarrow] }; // "9"
|
|
|
|
key <AE10> { [NoSymbol, NoSymbol, rightarrow] }; // "0"
|
|
|
|
key <AE11> { [NoSymbol, NoSymbol, emdash, endash] }; // "-"
|
|
|
|
key <AE12> { [NoSymbol, NoSymbol, notequal, plusminus] }; // "="
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
// 2nd keyboard row
|
|
|
|
key <AD03> { [NoSymbol, NoSymbol, EuroSign] }; // "e"
|
|
|
|
key <AD04> { [NoSymbol, NoSymbol, registered] }; // "r"
|
|
|
|
key <AD05> { [NoSymbol, NoSymbol, trademark] }; // "t"
|
|
|
|
key <AD06> { [NoSymbol, NoSymbol, yen] }; // "y"
|
|
|
|
key <AD10> { [NoSymbol, NoSymbol, acute, doubleacute] }; // "p"
|
2013-10-26 11:49:57 -06:00
|
|
|
key <AD11> { [NoSymbol, NoSymbol, bracketleft, braceleft] }; // [
|
|
|
|
key <AD12> { [NoSymbol, NoSymbol, bracketright, braceright] }; // ]
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
// 3rd keyboard row
|
2013-10-26 11:49:57 -06:00
|
|
|
key <AC01> { [NoSymbol, NoSymbol, U0301] }; // "a"
|
|
|
|
key <AC02> { [NoSymbol, NoSymbol, section] }; // "s"
|
2009-06-06 11:52:23 -06:00
|
|
|
key <AC03> { [NoSymbol, NoSymbol, degree, division] }; // "d"
|
2013-10-26 11:49:57 -06:00
|
|
|
key <AC04> { [NoSymbol, NoSymbol, sterling] }; // "f"
|
2009-06-06 11:52:23 -06:00
|
|
|
key <AC07> { [NoSymbol, NoSymbol, doublelowquotemark, singlelowquotemark] }; // "j"
|
|
|
|
key <AC08> { [NoSymbol, NoSymbol, leftdoublequotemark, leftsinglequotemark] }; // "k"
|
|
|
|
key <AC09> { [NoSymbol, NoSymbol, rightdoublequotemark, rightsinglequotemark] }; // "l"
|
|
|
|
key <AC10> { [NoSymbol, NoSymbol, leftsinglequotemark, minutes] }; // ";"
|
|
|
|
key <AC11> { [NoSymbol, NoSymbol, rightsinglequotemark, seconds] }; // "'"
|
|
|
|
|
|
|
|
// 4th keyboard row
|
|
|
|
key <AB02> { [NoSymbol, NoSymbol, multiply, U22C5] }; // "x"
|
|
|
|
key <AB03> { [NoSymbol, NoSymbol, copyright, cent] }; // "c"
|
2013-10-26 11:49:57 -06:00
|
|
|
key <AB04> { [NoSymbol, NoSymbol, downarrow] }; // "v"
|
|
|
|
key <AB07> { [NoSymbol, NoSymbol, U2212, enfilledcircbullet] }; // "m"
|
2009-06-06 11:52:23 -06:00
|
|
|
key <AB08> { [NoSymbol, NoSymbol, guillemotleft, less] }; // ","
|
|
|
|
key <AB09> { [NoSymbol, NoSymbol, guillemotright, greater] }; // "."
|
|
|
|
key <AB10> { [NoSymbol, NoSymbol, ellipsis] }; // "/"
|
|
|
|
};
|