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