returned nbsp on 3rd level, b.fd.o#12764
[xorg/xkeyboard-config] / symbols / gr
1 // $XKeyboardConfig$
2
3 // Hellenic keyboard map for X.org
4 //
5 // Original version:
6 //   Kostas Gewrgiou <gewrgiou@imbc.gr>
7 // Heavily modified and maintained by:
8 //   Vasilis Vasaitis <vvas@hal.csd.auth.gr>
9 // Originally converted to single group form by:
10 //   Ivan Pascal <pascal@info.tsu.ru>
11
12 default partial alphanumeric_keys alternate_group
13 xkb_symbols "basic" {
14
15     include "gr(bare)"
16
17     name[Group1] = "Greece";
18
19     key <TLDE> { [        grave,  asciitilde ] }; // ` ~
20     key <AE01> { [            1,      exclam ] }; // 1 !
21     key <AE02> { [            2,          at ] }; // 2 @
22     key <AE03> { [            3,  numbersign ] }; // 3 #
23     key <AE04> { [            4,      dollar ] }; // 4 $
24     key <AE05> { [            5,     percent ] }; // 5 %
25     key <AE06> { [            6, asciicircum ] }; // 6 ^
26     key <AE07> { [            7,   ampersand ] }; // 7 &
27     key <AE08> { [            8,    asterisk ] }; // 8 *
28     key <AE09> { [            9,   parenleft ] }; // 9 (
29     key <AE10> { [            0,  parenright ] }; // 0 )
30     key <AE11> { [        minus,  underscore ] }; // - _
31     key <AE12> { [        equal,        plus ] }; // = +
32
33     key <AD11> { [  bracketleft,   braceleft ] }; // [ {
34     key <AD12> { [ bracketright,  braceright ] }; // [ {
35
36     key <AC11> { [   apostrophe,    quotedbl ] }; // ' "
37
38     key <AB08> { [        comma,        less ] }; // , <
39     key <AB09> { [       period,     greater ] }; // . >
40     key <AB10> { [        slash,    question ] }; // / ?
41     key <BKSL> { [    backslash,         bar ] }; // \ |
42
43     include "kpdl(comma)"
44 };
45
46 hidden partial alphanumeric_keys alternate_group
47 xkb_symbols "bare" {
48
49     key <AD01> { [             semicolon,          colon ] }; // ; :
50     key <AD02> { [ Greek_finalsmallsigma,    Greek_SIGMA ] }; // ς Σ
51     key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ε Ε
52     key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ρ Ρ
53     key <AD05> { [             Greek_tau,      Greek_TAU ] }; // τ Τ
54     key <AD06> { [         Greek_upsilon,  Greek_UPSILON ] }; // υ Υ
55     key <AD07> { [           Greek_theta,    Greek_THETA ] }; // θ Θ
56     key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ι Ι
57     key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ο Ο
58     key <AD10> { [              Greek_pi,       Greek_PI ] }; // π Π
59
60     key <AC01> { [           Greek_alpha,    Greek_ALPHA ] }; // α Α
61     key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // σ Σ
62     key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // δ Δ
63     key <AC04> { [             Greek_phi,      Greek_PHI ] }; // φ Φ
64     key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // γ Γ
65     key <AC06> { [             Greek_eta,      Greek_ETA ] }; // η Η
66     key <AC07> { [              Greek_xi,       Greek_XI ] }; // ξ Ξ
67     key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // κ Κ
68     key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // λ Λ
69     key <AC10> { [            dead_acute, dead_diaeresis ] }; // ´ ¨
70
71     key <AB01> { [            Greek_zeta,     Greek_ZETA ] }; // ζ Ζ
72     key <AB02> { [             Greek_chi,      Greek_CHI ] }; // χ Χ
73     key <AB03> { [             Greek_psi,      Greek_PSI ] }; // ψ Ψ
74     key <AB04> { [           Greek_omega,    Greek_OMEGA ] }; // ω Ω
75     key <AB05> { [            Greek_beta,     Greek_BETA ] }; // β Β
76     key <AB06> { [              Greek_nu,       Greek_NU ] }; // ν Ν
77     key <AB07> { [              Greek_mu,       Greek_MU ] }; // μ Μ
78
79     key <LSGT> { [         guillemotleft, guillemotright ] }; // « »
80 };
81
82 // ===========================================================================================
83 // Greek - Extended                                                                          |
84 // ===========================================================================================
85 //
86 // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━━━┓
87 // │ ~   │ !   │ @   │ #   │ $   │ %   │ ^   │ &   │ *   │ (   │ )   │ _   │ +   ┃Backspace  ┃
88 // │ `   │ 1   │ 2   │ 3 £ │ 4   │ 5 € │ 6   │ 7   │ 8   │ 9   │ 0 ° │ - ± │ =   ┃           ┃
89 // ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━━━┫
90 // ┃       ┃ :   │ Σ   │ Ε   │ Ρ   │ Τ   │ Υ   │ Θ   │ Ι   │ Ο   │ Π   │ {   │ }   ┃Enter    ┃
91 // ┃Tab    ┃ ; · │ ς   │ ε € │ ρ ® │ τ   │ υ   │ θ   │ ι   │ ο   │ π   │ [   │ ]   ┃         ┃
92 // ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓        ┃
93 // ┃Caps    ┃ Α   │ Σ   │ Δ   │ Φ   │ Γ   │ Η   │ Ξ   │ Κ   │ Λ   │ ¨   │ "   │ |   ┃        ┃
94 // ┃Lock    ┃ α   │ σ   │ δ   │ φ   │ γ   │ η   │ ξ   │ κ   │ λ   │ ´   │ '   │ \   ┃        ┃
95 // ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━━━┫
96 // ┃       ┃ »   │ Ζ   │ Χ   │ Ψ   │ Ω   │ Β   │ Ν   │ Μ   │ <   │ >   │ ?   ┃               ┃
97 // ┃Shift  ┃ «   │ ζ   │ χ   │ ψ © │ ω   │ β   │ ν   │ μ   │ , « │ . » │ /   ┃Shift          ┃
98 // ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴──┲━━┷━━━━┳┷━━━━━┻┳━━━━━━━┳━━━━━━┫
99 // ┃       ┃       ┃       ┃                                  ┃       ┃       ┃       ┃      ┃
100 // ┃Ctrl   ┃Meta   ┃Alt    ┃              Space               ┃AltGr  ┃Meta   ┃Menu   ┃Ctrl  ┃
101 // ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹──────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┻━━━━━━┛
102
103 partial alphanumeric_keys alternate_group
104 xkb_symbols "extended" {
105
106     include "gr(basic)"
107
108     name[Group1] = "Greece - Extended";
109
110     key.type[Group1] = "THREE_LEVEL";
111
112     key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
113     key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
114     key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
115
116     key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
117     key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
118
119     key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
120     key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
121     key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
122
123     include "level3(ralt_switch)"
124     include "eurosign(5)"
125     include "eurosign(e)"
126 };
127
128 partial alphanumeric_keys alternate_group
129 xkb_symbols "polytonic" {
130
131     include "gr(extended)"
132
133     name[Group1] = "Greece - Polytonic";
134
135     key.type[Group1] = "THREE_LEVEL";
136
137     key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
138     key <AD12> { [  dead_iota,     VoidSymbol,  dead_breve ] }; // ͺ   ˘
139
140     key <AC10> { [ dead_acute, dead_psili  ] }; // ´ ̓ 
141     key <AC11> { [ dead_grave, dead_dasia  ] }; // ` ̔
142 };
143
144 partial alphanumeric_keys alternate_group
145 xkb_symbols "nodeadkeys" {
146
147     include "gr(basic)"
148
149     name[Group1] = "Greece - Eliminate dead keys";
150
151     key <AC10> { [ semicolon, colon ] }; // ; :
152 };