Added sanwa kbd model, jp(kana86) variant
[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         include "gr(simple)"
15
16         name[Group1] = "Greece";
17
18         include "eurosign(e)"
19         include "eurosign(5)"
20         include "kpdl(comma)"
21         include "level3(ralt_switch)"
22
23         key <AB01> { [       NoSymbol,       NoSymbol,          U037D,          U03FF ] };
24         key <AB02> { [       NoSymbol,       NoSymbol,     rightarrow,      leftarrow ] };
25         key <AB03> { [       NoSymbol,       NoSymbol,      copyright                 ] };
26         key <AB04> { [       NoSymbol,       NoSymbol,          U03D6                 ] };
27         key <AB05> { [       NoSymbol,       NoSymbol,          U03D0                 ] };
28         key <AB06> { [       NoSymbol,       NoSymbol,          U0374,          U0375 ] };
29         key <AB07> { [       NoSymbol,       NoSymbol,          U03FB,          U03FA ] };
30         key <AB08> { [       NoSymbol,       NoSymbol,  guillemotleft                 ] };
31         key <AB09> { [       NoSymbol,       NoSymbol, guillemotright, periodcentered ] };
32         key <AC03> { [       NoSymbol,       NoSymbol,      downarrow,        uparrow ] };
33         key <AC04> { [       NoSymbol,       NoSymbol,          U03D5                 ] };
34         key <AC05> { [       NoSymbol,       NoSymbol,          U03DD,          U03DC ] };
35         key <AC07> { [       NoSymbol,       NoSymbol,          U037C,          U03FE ] };
36         key <AC08> { [       NoSymbol,       NoSymbol,          U03DF,          U03DE ] };
37         key <AC09> { [       NoSymbol,       NoSymbol,          U03F2,          U03F9 ] };
38         key <AC10> { [       NoSymbol,       NoSymbol,     dead_acute,     dead_psili ] };
39         key <AC11> { [       NoSymbol,       NoSymbol,     dead_grave,     dead_dasia ] };
40         key <AD01> { [       NoSymbol,       NoSymbol, periodcentered                 ] };
41         key <AD02> { [       NoSymbol,       NoSymbol,          U03DB,          U03DA ] };
42         key <AD04> { [       NoSymbol,       NoSymbol,     registered,          U03F1 ] };
43         key <AD07> { [       NoSymbol,       NoSymbol,          U03D1,          U03F4 ] };
44         key <AD08> { [       NoSymbol,       NoSymbol,          U037B,          U03FD ] };
45         key <AD10> { [       NoSymbol,       NoSymbol,          U03E1,          U03E0 ] };
46         key <AD11> { [       NoSymbol,       NoSymbol,     dead_tilde,    dead_macron ] };
47         key <AD12> { [       NoSymbol,       NoSymbol,      dead_iota,     dead_breve ] };
48         key <AE01> { [       NoSymbol,       NoSymbol,       NoSymbol,    onesuperior ] };
49         key <AE02> { [       NoSymbol,       NoSymbol,        onehalf,    twosuperior ] };
50         key <AE03> { [       NoSymbol,       NoSymbol,       sterling,  threesuperior ] };
51         key <AE04> { [       NoSymbol,       NoSymbol,     onequarter,  threequarters ] };
52         key <AE07> { [       NoSymbol,       NoSymbol,          U03F0                 ] };
53         key <AE10> { [       NoSymbol,       NoSymbol,         degree                 ] };
54 };
55
56 partial alphanumeric_keys alternate_group
57 xkb_symbols "simple" {
58
59     include "gr(bare)"
60
61     name[Group1] = "Greece - Simple";
62
63     key <TLDE> { [        grave,  asciitilde ] }; // ` ~
64     key <AE01> { [            1,      exclam ] }; // 1 !
65     key <AE02> { [            2,          at ] }; // 2 @
66     key <AE03> { [            3,  numbersign ] }; // 3 #
67     key <AE04> { [            4,      dollar ] }; // 4 $
68     key <AE05> { [            5,     percent ] }; // 5 %
69     key <AE06> { [            6, asciicircum ] }; // 6 ^
70     key <AE07> { [            7,   ampersand ] }; // 7 &
71     key <AE08> { [            8,    asterisk ] }; // 8 *
72     key <AE09> { [            9,   parenleft ] }; // 9 (
73     key <AE10> { [            0,  parenright ] }; // 0 )
74     key <AE11> { [        minus,  underscore ] }; // - _
75     key <AE12> { [        equal,        plus ] }; // = +
76
77     key <AD11> { [  bracketleft,   braceleft ] }; // [ {
78     key <AD12> { [ bracketright,  braceright ] }; // [ {
79
80     key <AC11> { [   apostrophe,    quotedbl ] }; // ' "
81
82     key <AB08> { [        comma,        less ] }; // , <
83     key <AB09> { [       period,     greater ] }; // . >
84     key <AB10> { [        slash,    question ] }; // / ?
85     key <BKSL> { [    backslash,         bar ] }; // \ |
86
87     include "kpdl(comma)"
88 };
89
90 hidden partial alphanumeric_keys alternate_group
91 xkb_symbols "bare" {
92
93     key <AD01> { [             semicolon,          colon ] }; // ; :
94     key <AD02> { [ Greek_finalsmallsigma,    Greek_SIGMA ] }; // ς Σ
95     key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ε Ε
96     key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ρ Ρ
97     key <AD05> { [             Greek_tau,      Greek_TAU ] }; // τ Τ
98     key <AD06> { [         Greek_upsilon,  Greek_UPSILON ] }; // υ Υ
99     key <AD07> { [           Greek_theta,    Greek_THETA ] }; // θ Θ
100     key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ι Ι
101     key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ο Ο
102     key <AD10> { [              Greek_pi,       Greek_PI ] }; // π Π
103
104     key <AC01> { [           Greek_alpha,    Greek_ALPHA ] }; // α Α
105     key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // σ Σ
106     key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // δ Δ
107     key <AC04> { [             Greek_phi,      Greek_PHI ] }; // φ Φ
108     key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // γ Γ
109     key <AC06> { [             Greek_eta,      Greek_ETA ] }; // η Η
110     key <AC07> { [              Greek_xi,       Greek_XI ] }; // ξ Ξ
111     key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // κ Κ
112     key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // λ Λ
113     key <AC10> { [            dead_acute, dead_diaeresis ] }; // ´ ¨
114
115     key <AB01> { [            Greek_zeta,     Greek_ZETA ] }; // ζ Ζ
116     key <AB02> { [             Greek_chi,      Greek_CHI ] }; // χ Χ
117     key <AB03> { [             Greek_psi,      Greek_PSI ] }; // ψ Ψ
118     key <AB04> { [           Greek_omega,    Greek_OMEGA ] }; // ω Ω
119     key <AB05> { [            Greek_beta,     Greek_BETA ] }; // β Β
120     key <AB06> { [              Greek_nu,       Greek_NU ] }; // ν Ν
121     key <AB07> { [              Greek_mu,       Greek_MU ] }; // μ Μ
122
123     key <LSGT> { [         guillemotleft, guillemotright ] }; // « »
124 };
125
126 // ===========================================================================================
127 // Greek - Extended                                                                          |
128 // ===========================================================================================
129 //
130 // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━━━┓
131 // │ ~   │ !   │ @   │ #   │ $   │ %   │ ^   │ &   │ *   │ (   │ )   │ _   │ +   ┃Backspace  ┃
132 // │ `   │ 1   │ 2   │ 3 £ │ 4   │ 5 € │ 6   │ 7   │ 8   │ 9   │ 0 ° │ - ± │ =   ┃           ┃
133 // ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━━━┫
134 // ┃       ┃ :   │ Σ   │ Ε   │ Ρ   │ Τ   │ Υ   │ Θ   │ Ι   │ Ο   │ Π   │ {   │ }   ┃Enter    ┃
135 // ┃Tab    ┃ ; · │ ς   │ ε € │ ρ ® │ τ   │ υ   │ θ   │ ι   │ ο   │ π   │ [   │ ]   ┃         ┃
136 // ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓        ┃
137 // ┃Caps    ┃ Α   │ Σ   │ Δ   │ Φ   │ Γ   │ Η   │ Ξ   │ Κ   │ Λ   │ ¨   │ "   │ |   ┃        ┃
138 // ┃Lock    ┃ α   │ σ   │ δ   │ φ   │ γ   │ η   │ ξ   │ κ   │ λ   │ ´   │ '   │ \   ┃        ┃
139 // ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━━━┫
140 // ┃       ┃ »   │ Ζ   │ Χ   │ Ψ   │ Ω   │ Β   │ Ν   │ Μ   │ <   │ >   │ ?   ┃               ┃
141 // ┃Shift  ┃ «   │ ζ   │ χ   │ ψ © │ ω   │ β   │ ν   │ μ   │ , « │ . » │ /   ┃Shift          ┃
142 // ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴──┲━━┷━━━━┳┷━━━━━┻┳━━━━━━━┳━━━━━━┫
143 // ┃       ┃       ┃       ┃                                  ┃       ┃       ┃       ┃      ┃
144 // ┃Ctrl   ┃Meta   ┃Alt    ┃              Space               ┃AltGr  ┃Meta   ┃Menu   ┃Ctrl  ┃
145 // ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹──────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┻━━━━━━┛
146
147 partial alphanumeric_keys alternate_group
148 xkb_symbols "extended" {
149
150     include "gr(simple)"
151
152     name[Group1] = "Greece - Extended";
153
154     key.type[Group1] = "THREE_LEVEL";
155
156     key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
157     key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
158     key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
159
160     key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
161     key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
162
163     key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
164     key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
165     key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
166
167     include "level3(ralt_switch)"
168     include "eurosign(5)"
169     include "eurosign(e)"
170 };
171
172 partial alphanumeric_keys alternate_group
173 xkb_symbols "polytonic" {
174
175     include "gr(extended)"
176
177     name[Group1] = "Greece - Polytonic";
178
179     key.type[Group1] = "THREE_LEVEL";
180
181     key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
182     key <AD12> { [  dead_iota,     VoidSymbol,  dead_breve ] }; // ͺ   ˘
183
184     key <AC10> { [ dead_acute, dead_psili  ] }; // ´ ̓ 
185     key <AC11> { [ dead_grave, dead_dasia  ] }; // ` ̔
186 };
187
188 partial alphanumeric_keys alternate_group
189 xkb_symbols "nodeadkeys" {
190
191     include "gr(simple)"
192
193     name[Group1] = "Greece - Eliminate dead keys";
194
195     key <AC10> { [ semicolon, colon ] }; // ; :
196 };