home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / X11 / xkb / symbols / pl < prev    next >
Encoding:
Text File  |  2009-03-31  |  11.6 KB  |  280 lines

  1. // $XKeyboardConfig$
  2.  
  3. // based on a keyboard map from an 'xkb/symbols/pl' file
  4. //
  5. // $XFree86: xc/programs/xkbcomp/symbols/pl,v 1.3 2003/04/19 12:22:12 pascal Exp $
  6.  
  7. partial default alphanumeric_keys
  8. xkb_symbols "basic" {
  9.  
  10.     include "latin"
  11.  
  12.     name[Group1]="Poland";
  13.  
  14.     key <AD01>  { [         q,          Q ] };
  15.     key <AD02>  { [         w,          W ] };
  16.     key <AD03>    { [         e,          E,      eogonek,      Eogonek ]    };
  17.     key <AD09>    { [         o,          O,       oacute,       Oacute ]    };
  18.  
  19.     key <AC01>    { [         a,          A,      aogonek,      Aogonek ]    };
  20.     key <AC02>    { [         s,          S,       sacute,       Sacute ]    };
  21.     key <AC04>  { [         f,          F ] };
  22.  
  23.     key <AB01>    { [         z,          Z,    zabovedot,    Zabovedot ]    };
  24.     key <AB02>    { [         x,          X,       zacute,       Zacute ]    };
  25.     key <AB03>    { [         c,          C,       cacute,       Cacute ]    };
  26.     key <AB06>    { [         n,          N,       nacute,       Nacute ]    };
  27.  
  28.     include "kpdl(comma)"
  29.  
  30.     include "level3(ralt_switch)"
  31. };
  32.  
  33. partial alphanumeric_keys
  34. xkb_symbols "qwertz" {
  35.  
  36.     // Describes the differences between a very simple en_US
  37.     // keyboard and a very simple QWERTZ Polish keybaord
  38.  
  39.     include "latin(type3)"
  40.  
  41.     name[Group1]="Poland - qwertz";
  42.  
  43.     key <AE01>    { [         1,     exclam,   asciitilde,   exclamdown ]    };
  44.     key <AE02>    { [         2,   quotedbl,   dead_caron,    oneeighth ]    };
  45.     key <AE03>    { [         3, numbersign, dead_circumflex,  sterling ]    };
  46.     key <AE04>    { [         4,     dollar,   dead_breve,       dollar ]    };
  47.     key <AE05>    { [         5,    percent,       degree, threeeighths ]    };
  48.     key <AE06>    { [         6,  ampersand,  dead_ogonek,  fiveeighths ]    };
  49.     key <AE07>    { [         7,      slash,   dead_grave, seveneighths ]    };
  50.     key <AE08>    { [         8,  parenleft, dead_abovedot,   trademark ]    };
  51.     key <AE09>    { [         9, parenright,   dead_acute,    plusminus ]    };
  52.     key <AE10>    { [         0,      equal, dead_doubleacute,   degree ]    };
  53.     key <AE11>    { [      plus,   question, dead_diaeresis, questiondown ] };
  54.     key <AE12>    { [apostrophe,   asterisk, dead_cedilla,  dead_ogonek ]    };
  55.  
  56.     key <AD01>  { [         q,          Q ] };
  57.     key <AD02>  { [         w,          W ] };
  58.     key <AD03>    { [         e,          E,     EuroSign,         cent ]    };
  59.     key <AD11>    { [ zabovedot,     nacute,     division, dead_abovering ] };
  60.     key <AD12>    { [    sacute,     cacute,     multiply,  dead_macron ]    };
  61.  
  62.     key <AC02>    { [         s,          S,      dstroke,      section ]    };
  63.     key <AC03>    { [         d,          D,      Dstroke,          ETH ]    };
  64.     key <AC04>  { [         f,          F ] };
  65.     key <AC08>    { [         k,          K,          kra,    ampersand ]    };
  66.     key <AC09>    { [         l,          L,      lstroke,      Lstroke ]    };
  67.     key <AC10>    { [   lstroke,    Lstroke,       dollar, dead_doubleacute ] };
  68.     key <AC11>    { [   aogonek,    eogonek,       ssharp,   dead_caron ]    };
  69.     key <TLDE>    { [  abovedot, dead_ogonek,     notsign,      notsign ]    };
  70.  
  71.     key <BKSL>    { [    oacute,     zacute,   dead_grave,   dead_breve ]    };
  72.     key <AB03>    { [         c,          C,         cent,    copyright ]    };
  73.     key <AB10>  { [     minus, underscore, dead_belowdot, dead_abovedot ] };
  74.  
  75.     include "kpdl(comma)"
  76.  
  77.     include "level3(ralt_switch)"
  78. };
  79.  
  80. // Polish Dvorak keymaps
  81. // by Rafal Rzepecki <divide@users.sf.net>
  82.  
  83. // The base keymap "pl" places Polish quotes on quotemark key and 
  84. // moves the dead symbols from there to "1/!" key. If you are used to common 
  85. // dead keys placement, you could use "pl_altquotes"; in this layout 
  86. // dead keys remain in the old place, whereas Polish quotes are placed on the
  87. // "1/!" key. If you do not use Polish quotes at all, you can use "pl_basic" map.
  88.  
  89. // Basic Polish keymap (without Polish quotes)
  90. partial alphanumeric_keys 
  91. xkb_symbols "dvorak" {
  92.     include "us(dvorak)"
  93.     
  94.     name[Group1] = "Poland - Dvorak";
  95.  
  96.     key <AD08> { [        c,    C,    cacute,    Cacute        ]    };
  97.     key <AD10> { [        l,    L,     lstroke, Lstroke        ]    };
  98.     key <AC01> { [        a,    A,     aogonek, Aogonek        ]    };
  99.     key <AC02> { [        o,    O,      oacute, Oacute        ]    };
  100.     key <AC03> { [        e,    E,     eogonek, Eogonek        ]    };
  101.     key <AC09> { [        n,    N,      nacute, Nacute        ]    };
  102.     key <AC10> { [        s,    S,      sacute, Sacute        ]    };
  103.     key <AB09> { [        v,    V,      zacute, Zacute        ]    };
  104.     key <AB10> { [        z,    Z,   zabovedot, Zabovedot    ]    };
  105.     
  106.     include "kpdl(comma)"
  107.  
  108.     // this to allow writing ALL CAPS with a Shift key
  109.     include "level3(ralt_switch)"
  110.  
  111.     // use one of compose:* options to choose Multi_key, if you will,
  112.     // or layout +level3(ralt_switch_multikey) to revert standard behaviour
  113. };
  114.  
  115. // Default Polish keymap with Polish quotes on quotemark key
  116. partial alphanumeric_keys
  117. xkb_symbols "dvorak_quotes" {
  118.     include "pl(dvorak)"
  119.     
  120.     name[Group1] = "Poland - Dvorak, Polish quotes on quotemark key";
  121.  
  122.     key <AD01> { [  apostrophe,    quotedbl, doublelowquotemark, rightdoublequotemark    ] };
  123.  
  124.     // Dead symbols moved to this key
  125.     key <AE01> { [        1,    exclam, dead_acute, dead_diaeresis         ]    };
  126. };
  127.  
  128. // Polish keymap with Polish quotes on key "1/!"
  129. partial alphanumeric_keys
  130. xkb_symbols "dvorak_altquotes" {
  131.     include "pl(dvorak)"
  132.  
  133.     name[Group1] = "Poland - Dvorak, Polish quotes on key 1/!";
  134.  
  135.     key <AE01> { [        1,    exclam, doublelowquotemark, rightdoublequotemark    ]    };
  136. };
  137.  
  138. partial alphanumeric_keys
  139. xkb_symbols "csb" {
  140.  
  141.     include "latin"
  142.  
  143.     name[Group1]="Poland - Kashubian";
  144.  
  145.     key <AD01>  { [         q,          Q ] };
  146.     key <AD02>  { [         w,          W ] };
  147.     key <AD03>    { [         e,          E,      eacute,      Eacute ]    };
  148.     key <AD04>    { [         r,           R,      ediaeresis,      Ediaeresis ]    };
  149.     key <AD06>      { [         y,          Y,      EuroSign,         cent ]        };
  150.     key <AD07>    { [          u,          U,       ugrave,       Ugrave ]    };
  151.     key <AD08>    { [         i,            I,       ograve,       Ograve ]    };
  152.     key <AD09>    { [         o,          O,       oacute,       Oacute ]    };
  153.     key <AD10>    { [         p,          P,       ocircumflex,       Ocircumflex ]    };
  154.  
  155.     key <AC01>    { [         a,          A,      aogonek,      Aogonek ]    };
  156.     key <AC02>    { [         s,          S,      atilde,      Atilde ]          };
  157.     key <AC04>  { [         f,          F ] };
  158.     key <AC09>    { [         l,          L,      lstroke,      Lstroke ]      };
  159.  
  160.     key <AB01>    { [         z,          Z,    zabovedot,    Zabovedot ]    };
  161.     key <AB06>    { [         n,          N,       nacute,       Nacute ]    };
  162.  
  163.     include "kpdl(comma)"
  164.  
  165.     include "level3(ralt_switch)"
  166. };
  167.  
  168. // Russian Polish-phonetic Dvorak
  169. // by Adrian Dziubek <adrian.dziubek@gmail.com>
  170. //
  171. // This layout aims to enable Polish Dvorak users to type with Russian
  172. // Cyrillic alphabet by using the sound correspondence between Polish and
  173. // Russian languages.
  174. //
  175. // This keyboard should be intuitive. Please let me know, if my intuition
  176. // lets You down.
  177. //
  178. // The guidelines used:
  179. // - no Cyrillic symbols are placed on punctuation symbols,
  180. // - visual similarities are ignored if there is a sound correspondence:
  181. //   no Cyrillic_es on c, no Cyrillic_er on p, no Cyrillic_ha on x etc.,
  182. // - the Latin symbols that have close sound correspondence (as read in Polish)
  183. //   to Cyrillic symbols (as read in Russian) are mapped respectively:
  184. //         * j -> Cyrillic_shorti,
  185. //         * k -> Cyrillic_ka,
  186. //         * b -> Cyrillic_be,
  187. //         * m -> Cyrillic_em,
  188. //         * w -> Cyrillic_ve,
  189. //         * z -> Cyrillic_ze
  190. //         * a -> Cyrillic_a,
  191. //         * o -> Cyrillic_o,
  192. //         * u -> Cyrillic_u,
  193. //         * i -> Cyrillic_i,
  194. //         * d -> Cyrillic_de,
  195. //         * h -> Cyrillic_ha,
  196. //         * t -> Cyrillic_te,
  197. //         * n -> Cyrillic_en,
  198. //         * s -> Cyrillic_es,
  199. //         * p -> Cyrillic_pe,
  200. //         * y -> Cyrillic_yeru,
  201. //         * f -> Cyrillic_ef,
  202. //         * g -> Cyrillic_ghe,
  203. //         * c -> Cyrillic_tse,
  204. //         * r -> Cyrillic_er,
  205. //         * l -> Cyrillic_el,
  206. // - ...and little more distant:
  207. //         * AltGr + s (sacute) -> Cyrillic_sha,
  208. //         * AltGr + z (zabovedot) -> Cyrillic_zhe,
  209. //         * AltGr + c (cacute) -> Cyrillic_che,
  210. // - the soft versions of Russian vowels are accessible through AltGr + vowel:
  211. //         * AltGr + a -> Cyrillic_ya,
  212. //         * AltGr + o -> Cyrillic_io,
  213. //         * AltGr + u -> Cyrillic_yu,
  214. // - ...except for Cyrillic_ie which is more frequently used than Cyrillic_e:
  215. //         * AltGr + e -> Cyrillic_e,
  216. //         * e -> Cyrillic_ie,
  217. // - q is also mapped to Cyrillic_ya, following the US phonetic keyboard
  218. //   choice, as Cyrillic_ya and Cyrillic_a are both often used:
  219. //         * q -> Cyrillic_ya,
  220. // - the soft and hard symbols that have no Polish counterparts are mapped
  221. //   to rarely used in Polish x character:
  222. //         * x -> Cyrillic_softsign
  223. //         * AltGr + x -> Cyrillic_hardsign,
  224. // - the soft sign is additionally available as AltGr + consonant combination
  225. //   for every consonant that can be softened or separated by soft sign:
  226. //         * AltGr + l -> Cyrillic_softsign,
  227. //         * AltGr + d -> Cyrillic_softsign,
  228. //         * AltGr + n -> Cyrillic_softsign,
  229. //         * AltGr + r -> Cyrillic_softsign,
  230. //         * AltGr + t -> Cyrillic_softsign,
  231. //         * AltGr + p -> Cyrillic_softsign,
  232. // - ...and also because of visual similarity under level3 b:
  233. //         * AltGr + b -> Cyrillic_softsign,
  234. //         * Shift + AltGr + b -> Cyrillic_hardsign,
  235. // - the Cyrillic_shcha symbol is placed under AltGr + w (visual similarity):
  236. //         * AltGr + w -> Cyrillic_shcha
  237. // - v, also rarely unused in Polish is mapped like w:
  238. //         * v -> Cyrillic_ve,
  239. //
  240. partial alphanumeric_keys
  241. xkb_symbols "ru_phonetic_dvorak" {
  242.    include "us(dvorak)"
  243.  
  244.    name[Group1] = "Poland - Russian phonetic Dvorak";
  245.  
  246.    // lower row
  247.    key <AB02> { [ Cyrillic_ya, Cyrillic_YA ] };
  248.    key <AB03> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
  249.    key <AB04> { [ Cyrillic_ka, Cyrillic_KA ] };
  250.    key <AB05> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
  251.    key <AB06> { [ Cyrillic_be, Cyrillic_BE, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
  252.    key <AB07> { [ Cyrillic_em, Cyrillic_EM ] };
  253.    key <AB08> { [ Cyrillic_ve, Cyrillic_VE, Cyrillic_shcha, Cyrillic_SHCHA ] };
  254.    key <AB09> { [ Cyrillic_ve, Cyrillic_VE, Cyrillic_shcha, Cyrillic_SHCHA ] };
  255.    key <AB10> { [ Cyrillic_ze, Cyrillic_ZE, Cyrillic_zhe, Cyrillic_ZHE ] };
  256.    // home row
  257.    key <AC01> { [ Cyrillic_a, Cyrillic_A, Cyrillic_ya, Cyrillic_YA  ] };
  258.    key <AC02> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
  259.    key <AC03> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ] };
  260.    key <AC04> { [ Cyrillic_u, Cyrillic_U, Cyrillic_yu, Cyrillic_YU  ] };
  261.    key <AC05> { [ Cyrillic_i, Cyrillic_I ] };
  262.    key <AC06> { [ Cyrillic_de, Cyrillic_DE, Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
  263.    key <AC07> { [ Cyrillic_ha, Cyrillic_HA ] };
  264.    key <AC08> { [ Cyrillic_te, Cyrillic_TE, Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
  265.    key <AC09> { [ Cyrillic_en, Cyrillic_EN, Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
  266.    key <AC10> { [ Cyrillic_es, Cyrillic_ES, Cyrillic_sha, Cyrillic_SHA ] };
  267.    // upper row
  268.    key <AD04> { [ Cyrillic_pe, Cyrillic_PE, Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
  269.    key <AD05> { [ Cyrillic_yeru, Cyrillic_YERU ] };
  270.    key <AD06> { [ Cyrillic_ef, Cyrillic_EF ] };
  271.    key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE ] };
  272.    key <AD08> { [ Cyrillic_tse, Cyrillic_TSE, Cyrillic_che, Cyrillic_CHE ] };
  273.    key <AD09> { [ Cyrillic_er, Cyrillic_ER, Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
  274.    key <AD10> { [ Cyrillic_el, Cyrillic_EL, Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
  275.  
  276.    include "kpdl(comma)"
  277.  
  278.    include "level3(ralt_switch)"
  279. };
  280.