1# $FreeBSD: src/share/syscons/keymaps/hu.iso2.101keys.kbd,v 1.2.2.1 2000/07/18 00:47:52 ache Exp $
2# $DragonFly: src/share/syscons/keymaps/hu.iso2.101keys.kbd,v 1.4 2007/08/02 00:04:58 swildner Exp $
3#
4# This is for use with a US keyboard, with only the
5# Hungarian accented characters added to it, and some tricks:
6# The accented characters are available as Alt + something: (and the upper
7# case version is with Alt + Shift + something)
8# ' -> a'
9# ; -> e'
10# ` -> i'
11# = -> o'
12# 0 -> o:
13# [ -> o"
14# ] -> u'
15# - -> u:
16# \ -> u"
17# (i' and I' has another method: Alt + j -> i' and Alt + i -> I')
18#
19# This keymap file has a switching feature:
20# with the Shift+Ctrl combination,
21# we can change the keyboard from US kbd (with hungarian accented letters as
22# Alt+something) to a US kbd, with the help of which we can type the accented
23# characters
24# without the Alt key (and can type the original characters as Alt + ;).  So
25# after loading that keymap:
26# ; -> ;
27# Alt + ; -> e'
28# press Shift+Ctrl, and get:
29# ; -> e'
30# Alt + ; -> ;
31# The keyboard switch can be seen at the CapsLock led: off = normal mode; on =
32# switched mode.  By the way, we cannot see the CapsLock key's status ;-(
33#
34#                                                         alt
35# scan                       cntrl          alt    alt   cntrl lock
36# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
37# ------------------------------------------------------------------
38  000   nop    nop    nop    nop    nop    nop    nop    nop     O
39  001   esc    esc    esc    esc    esc    esc    debug  panic   O
40  002   '1'    '!'    nop    nop    '1'    '!'    nop    nop     O
41  003   '2'    '@'    nul    nul    '2'    '@'    nul    nul     O
42  004   '3'    '#'    nop    nop    '3'    '#'    nop    nop     O
43  005   '4'    '$'    nop    nop    '4'    '$'    nop    nop     O
44  006   '5'    '%'    nop    nop    '5'    '%'    nop    nop     O
45  007   '6'    '^'    rs     rs     '6'    '^'    rs     rs      O
46  008   '7'    '&'    nop    nop    '7'    '&'    nop    nop     O
47  009   '8'    '*'    nop    nop    '8'    '*'    nop    nop     O
48  010   '9'    '('    nop    nop    '9'    '('    nop    nop     O
49  011   '0'    ')'    nop    nop    246    214    nop    nop     O
50  012   '-'    '_'    ns     ns     252    220    ns     ns      C
51  013   '='    '+'    nop    nop    243    211    nop    nop     C
52  014   bs     bs     del    del    bs     bs     del    del     O
53  015   ht     btab   nop    nop    ht     btab   nop    nop     O
54  016   'q'    'Q'    dc1    dc1    'q'    'Q'    dc1    dc1     C
55  017   'w'    'W'    etb    etb    'w'    'W'    etb    etb     C
56  018   'e'    'E'    enq    enq    'e'    'E'    enq    enq     C
57  019   'r'    'R'    dc2    dc2    'r'    'R'    dc2    dc2     C
58  020   't'    'T'    dc4    dc4    't'    'T'    dc4    dc4     C
59  021   'y'    'Y'    em     em     'y'    'Y'    em     em      C
60  022   'u'    'U'    nak    nak    'u'    'U'    nak    nak     C
61  023   'i'    'I'    ht     ht     205    'I'    ht     ht      C
62  024   'o'    'O'    si     si     'o'    'O'    si     si      C
63  025   'p'    'P'    dle    dle    'p'    'P'    dle    dle     C
64  026   '['    '{'    esc    esc    245    213    esc    esc     C
65  027   ']'    '}'    gs     gs     250    218    gs     gs      C
66  028   cr     cr     nl     nl     cr     cr     nl     nl      O
67  029   lctrl  alock  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
68  030   'a'    'A'    soh    soh    'a'    'A'    soh    soh     C
69  031   's'    'S'    dc3    dc3    's'    'S'    dc3    dc3     C
70  032   'd'    'D'    eot    eot    'd'    'D'    eot    eot     C
71  033   'f'    'F'    ack    ack    'f'    'F'    ack    ack     C
72  034   'g'    'G'    bel    bel    'g'    'G'    bel    bel     C
73  035   'h'    'H'    bs     bs     'h'    'H'    bs     bs      C
74  036   'j'    'J'    nl     nl     237    'J'    nl     nl      C
75  037   'k'    'K'    vt     vt     'k'    'K'    vt     vt      C
76  038   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
77  039   ';'    ':'    nop    nop    233    201    nop    nop     C
78  040   '''    '"'    nop    nop    225    193    nop    nop     C
79  041   '`'    '~'    nop    nop    237    205    nop    nop     C
80  042   lshift lshift alock  lshift lshift lshift lshift lshift  O
81  043   '\'    '|'    fs     fs     251    219    fs     fs      C
82  044   'z'    'Z'    sub    sub    'z'    'Z'    sub    sub     C
83  045   'x'    'X'    can    can    'x'    'X'    can    can     C
84  046   'c'    'C'    etx    etx    'c'    'C'    etx    etx     C
85  047   'v'    'V'    syn    syn    'v'    'V'    syn    syn     C
86  048   'b'    'B'    stx    stx    'b'    'B'    stx    stx     C
87  049   'n'    'N'    so     so     'n'    'N'    so     so      C
88  050   'm'    'M'    cr     cr     'm'    'M'    cr     cr      C
89  051   ','    '<'    nop    nop    ','    '<'    nop    nop     O
90  052   '.'    '>'    nop    nop    '.'    '>'    nop    nop     O
91  053   '/'    '?'    nop    nop    '/'    '?'    nop    nop     C
92  054   rshift rshift alock  rshift rshift rshift rshift rshift  O
93  055   '*'    '*'    '*'    '*'    '*'    '*'    '*'    '*'     O
94  056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
95  057   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
96  058   clock  clock  clock  clock  clock  clock  clock  clock   O
97  059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
98  060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
99  061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
100  062   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
101  063   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
102  064   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
103  065   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
104  066   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
105  067   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
106  068   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
107  069   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
108  070   slock  slock  slock  slock  slock  slock  slock  slock   O
109  071   fkey49 '7'    '7'    '7'    '7'    '7'    '7'    '7'     N
110  072   fkey50 '8'    '8'    '8'    '8'    '8'    '8'    '8'     N
111  073   fkey51 '9'    '9'    '9'    '9'    '9'    '9'    '9'     N
112  074   fkey52 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
113  075   fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
114  076   fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     N
115  077   fkey55 '6'    '6'    '6'    '6'    '6'    '6'    '6'     N
116  078   fkey56 '+'    '+'    '+'    '+'    '+'    '+'    '+'     N
117  079   fkey57 '1'    '1'    '1'    '1'    '1'    '1'    '1'     N
118  080   fkey58 '2'    '2'    '2'    '2'    '2'    '2'    '2'     N
119  081   fkey59 '3'    '3'    '3'    '3'    '3'    '3'    '3'     N
120  082   fkey60 '0'    '0'    '0'    '0'    '0'    '0'    '0'     N
121  083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
122  084   nop    nop    nop    nop    nop    nop    nop    nop     O
123  085   nop    nop    nop    nop    nop    nop    nop    nop     O
124  086   237    205    nop    nop    nop    nop    nop    nop     C
125  087   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
126  088   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
127  089   cr     cr     cr     cr     cr     cr     cr     cr      O
128  090   rctrl  alock  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
129  091   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     O
130  092   nscr   pscr   debug  debug  nop    nop    nop    nop     O
131  093   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
132  094   fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
133  095   fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
134  096   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
135  097   fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
136  098   fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
137  099   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
138  100   fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
139  101   fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
140  102   fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
141  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
142  104   slock  saver  slock  saver  susp   nop    susp   nop     O
143  105   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
144  106   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
145  107   fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
146  108   nop    nop    nop    nop    nop    nop    nop    nop     O
147  109   nop    nop    nop    nop    nop    nop    nop    nop     O
148  110   nop    nop    nop    nop    nop    nop    nop    nop     O
149  111   nop    nop    nop    nop    nop    nop    nop    nop     O
150  112   nop    nop    nop    nop    nop    nop    nop    nop     O
151  113   nop    nop    nop    nop    nop    nop    nop    nop     O
152  114   nop    nop    nop    nop    nop    nop    nop    nop     O
153  115   nop    nop    nop    nop    nop    nop    nop    nop     O
154  116   nop    nop    nop    nop    nop    nop    nop    nop     O
155  117   nop    nop    nop    nop    nop    nop    nop    nop     O
156  118   nop    nop    nop    nop    nop    nop    nop    nop     O
157  119   nop    nop    nop    nop    nop    nop    nop    nop     O
158  120   nop    nop    nop    nop    nop    nop    nop    nop     O
159  121   nop    nop    nop    nop    nop    nop    nop    nop     O
160  122   nop    nop    nop    nop    nop    nop    nop    nop     O
161  123   nop    nop    nop    nop    nop    nop    nop    nop     O
162  124   nop    nop    nop    nop    nop    nop    nop    nop     O
163  125   nop    nop    nop    nop    nop    nop    nop    nop     O
164  126   nop    nop    nop    nop    nop    nop    nop    nop     O
165  127   nop    nop    nop    nop    nop    nop    nop    nop     O
166# ------------------------------------------------------------------
167  128   nop    nop    nop    nop    nop    nop    nop    nop     O
168  129   esc    esc    esc    esc    esc    esc    debug  panic   O
169  130   '1'    '!'    nop    nop    '1'    '!'    nop    nop     O
170  131   '2'    '@'    nul    nul    '2'    '@'    nul    nul     O
171  132   '3'    '#'    nop    nop    '3'    '#'    nop    nop     O
172  133   '4'    '$'    nop    nop    '4'    '$'    nop    nop     O
173  134   '5'    '%'    nop    nop    '5'    '%'    nop    nop     O
174  135   '6'    '^'    rs     rs     '6'    '^'    rs     rs      O
175  136   '7'    '&'    nop    nop    '7'    '&'    nop    nop     O
176  137   '8'    '*'    nop    nop    '8'    '*'    nop    nop     O
177  138   '9'    '('    nop    nop    '9'    '('    nop    nop     O
178  139   246    214    nop    nop    '0'    ')'    nop    nop     O
179  140   252    220    ns     ns     '-'    '_'    ns     ns      C
180  141   243    211    nop    nop    '='    '+'    nop    nop     C
181  142   bs     bs     del    del    bs     bs     del    del     O
182  143   ht     btab   nop    nop    ht     btab   nop    nop     O
183  144   'q'    'Q'    dc1    dc1    'q'    'Q'    dc1    dc1     C
184  145   'w'    'W'    etb    etb    'w'    'W'    etb    etb     C
185  146   'e'    'E'    enq    enq    'e'    'E'    enq    enq     C
186  147   'r'    'R'    dc2    dc2    'r'    'R'    dc2    dc2     C
187  148   't'    'T'    dc4    dc4    't'    'T'    dc4    dc4     C
188  149   'y'    'Y'    em     em     'y'    'Y'    em     em      C
189  150   'u'    'U'    nak    nak    'u'    'U'    nak    nak     C
190  151   'i'    'I'    ht     ht     205    'I'    ht     ht      C
191  152   'o'    'O'    si     si     'o'    'O'    si     si      C
192  153   'p'    'P'    dle    dle    'p'    'P'    dle    dle     C
193  154   245    213    esc    esc    '['    '{'    esc    esc     C
194  155   250    218    gs     gs     ']'    '}'    gs     gs      C
195  156   cr     cr     nl     nl     cr     cr     nl     nl      O
196  157   lctrl  alock  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
197  158   'a'    'A'    soh    soh    'a'    'A'    soh    soh     C
198  159   's'    'S'    dc3    dc3    's'    'S'    dc3    dc3     C
199  160   'd'    'D'    eot    eot    'd'    'D'    eot    eot     C
200  161   'f'    'F'    ack    ack    'f'    'F'    ack    ack     C
201  162   'g'    'G'    bel    bel    'g'    'G'    bel    bel     C
202  163   'h'    'H'    bs     bs     'h'    'H'    bs     bs      C
203  164   'j'    'J'    nl     nl     237    'J'    nl     nl      C
204  165   'k'    'K'    vt     vt     'k'    'K'    vt     vt      C
205  166   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
206  167   233    201    nop    nop    ';'    ':'    nop    nop     C
207  168   225    193    nop    nop    '''    '"'    nop    nop     C
208  169   237    205    nop    nop    '`'    '~'    nop    nop     C
209  170   lshift lshift alock  lshift lshift lshift lshift lshift  O
210  171   251    219    fs     fs     '\'    '|'    fs     fs      C
211  172   'z'    'Z'    sub    sub    'z'    'Z'    sub    sub     C
212  173   'x'    'X'    can    can    'x'    'X'    can    can     C
213  174   'c'    'C'    etx    etx    'c'    'C'    etx    etx     C
214  175   'v'    'V'    syn    syn    'v'    'V'    syn    syn     C
215  176   'b'    'B'    stx    stx    'b'    'B'    stx    stx     C
216  177   'n'    'N'    so     so     'n'    'N'    so     so      C
217  178   'm'    'M'    cr     cr     'm'    'M'    cr     cr      C
218  179   ','    '<'    nop    nop    ','    '<'    nop    nop     O
219  180   '.'    '>'    nop    nop    '.'    '>'    nop    nop     O
220  181   '/'    '?'    nop    nop    '/'    '?'    nop    nop     C
221  182   rshift rshift alock  rshift rshift rshift rshift rshift  O
222  183   '*'    '*'    '*'    '*'    '*'    '*'    '*'    '*'     O
223  184   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
224  185   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
225  186   clock  clock  clock  clock  clock  clock  clock  clock   O
226  187   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
227  188   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
228  189   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
229  190   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
230  191   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
231  192   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
232  193   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
233  194   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
234  195   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
235  196   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
236  197   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
237  198   slock  slock  slock  slock  slock  slock  slock  slock   O
238  199   fkey49 '7'    '7'    '7'    '7'    '7'    '7'    '7'     N
239  200   fkey50 '8'    '8'    '8'    '8'    '8'    '8'    '8'     N
240  201   fkey51 '9'    '9'    '9'    '9'    '9'    '9'    '9'     N
241  202   fkey52 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
242  203   fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
243  204   fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     N
244  205   fkey55 '6'    '6'    '6'    '6'    '6'    '6'    '6'     N
245  206   fkey56 '+'    '+'    '+'    '+'    '+'    '+'    '+'     N
246  207   fkey57 '1'    '1'    '1'    '1'    '1'    '1'    '1'     N
247  208   fkey58 '2'    '2'    '2'    '2'    '2'    '2'    '2'     N
248  209   fkey59 '3'    '3'    '3'    '3'    '3'    '3'    '3'     N
249  210   fkey60 '0'    '0'    '0'    '0'    '0'    '0'    '0'     N
250  211   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
251  212   nop    nop    nop    nop    nop    nop    nop    nop     O
252  213   nop    nop    nop    nop    nop    nop    nop    nop     O
253  214   237    205    nop    nop    nop    nop    nop    nop     C
254  215   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
255  216   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
256  217   cr     cr     cr     cr     cr     cr     cr     cr      O
257  218   rctrl  alock  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
258  219   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     O
259  220   nscr   pscr   debug  debug  nop    nop    nop    nop     O
260  221   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
261  222   fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
262  223   fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
263  224   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
264  225   fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
265  226   fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
266  227   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
267  228   fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
268  229   fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
269  230   fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
270  231   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
271  232   slock  saver  slock  saver  susp   nop    susp   nop     O
272  233   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
273  234   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
274  235   fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
275  236   nop    nop    nop    nop    nop    nop    nop    nop     O
276  237   nop    nop    nop    nop    nop    nop    nop    nop     O
277  238   nop    nop    nop    nop    nop    nop    nop    nop     O
278  239   nop    nop    nop    nop    nop    nop    nop    nop     O
279  240   nop    nop    nop    nop    nop    nop    nop    nop     O
280  241   nop    nop    nop    nop    nop    nop    nop    nop     O
281  242   nop    nop    nop    nop    nop    nop    nop    nop     O
282  243   nop    nop    nop    nop    nop    nop    nop    nop     O
283  244   nop    nop    nop    nop    nop    nop    nop    nop     O
284  245   nop    nop    nop    nop    nop    nop    nop    nop     O
285  246   nop    nop    nop    nop    nop    nop    nop    nop     O
286  247   nop    nop    nop    nop    nop    nop    nop    nop     O
287  248   nop    nop    nop    nop    nop    nop    nop    nop     O
288  249   nop    nop    nop    nop    nop    nop    nop    nop     O
289  250   nop    nop    nop    nop    nop    nop    nop    nop     O
290  251   nop    nop    nop    nop    nop    nop    nop    nop     O
291  252   nop    nop    nop    nop    nop    nop    nop    nop     O
292  253   nop    nop    nop    nop    nop    nop    nop    nop     O
293  254   nop    nop    nop    nop    nop    nop    nop    nop     O
294  255   nop    nop    nop    nop    nop    nop    nop    nop     O
295