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