defkeymap.map 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Default kernel keymap. This uses 7 modifier combinations.
  3. keymaps 0-2,4-5,8,12
  4. # Change the above line into
  5. # keymaps 0-2,4-6,8,12
  6. # in case you want the entries
  7. # altgr control keycode 83 = Boot
  8. # altgr control keycode 111 = Boot
  9. # below.
  10. #
  11. # In fact AltGr is used very little, and one more keymap can
  12. # be saved by mapping AltGr to Alt (and adapting a few entries):
  13. # keycode 100 = Alt
  14. #
  15. keycode 1 = Escape Escape
  16. alt keycode 1 = Meta_Escape
  17. keycode 2 = one exclam
  18. alt keycode 2 = Meta_one
  19. keycode 3 = two at at
  20. control keycode 3 = nul
  21. shift control keycode 3 = nul
  22. alt keycode 3 = Meta_two
  23. keycode 4 = three numbersign
  24. control keycode 4 = Escape
  25. alt keycode 4 = Meta_three
  26. keycode 5 = four dollar dollar
  27. control keycode 5 = Control_backslash
  28. alt keycode 5 = Meta_four
  29. keycode 6 = five percent
  30. control keycode 6 = Control_bracketright
  31. alt keycode 6 = Meta_five
  32. keycode 7 = six asciicircum
  33. control keycode 7 = Control_asciicircum
  34. alt keycode 7 = Meta_six
  35. keycode 8 = seven ampersand braceleft
  36. control keycode 8 = Control_underscore
  37. alt keycode 8 = Meta_seven
  38. keycode 9 = eight asterisk bracketleft
  39. control keycode 9 = Delete
  40. alt keycode 9 = Meta_eight
  41. keycode 10 = nine parenleft bracketright
  42. alt keycode 10 = Meta_nine
  43. keycode 11 = zero parenright braceright
  44. alt keycode 11 = Meta_zero
  45. keycode 12 = minus underscore backslash
  46. control keycode 12 = Control_underscore
  47. shift control keycode 12 = Control_underscore
  48. alt keycode 12 = Meta_minus
  49. keycode 13 = equal plus
  50. alt keycode 13 = Meta_equal
  51. keycode 14 = Delete Delete
  52. control keycode 14 = BackSpace
  53. alt keycode 14 = Meta_Delete
  54. keycode 15 = Tab Tab
  55. alt keycode 15 = Meta_Tab
  56. keycode 16 = q
  57. keycode 17 = w
  58. keycode 18 = e
  59. altgr keycode 18 = Hex_E
  60. keycode 19 = r
  61. keycode 20 = t
  62. keycode 21 = y
  63. keycode 22 = u
  64. keycode 23 = i
  65. keycode 24 = o
  66. keycode 25 = p
  67. keycode 26 = bracketleft braceleft
  68. control keycode 26 = Escape
  69. alt keycode 26 = Meta_bracketleft
  70. keycode 27 = bracketright braceright asciitilde
  71. control keycode 27 = Control_bracketright
  72. alt keycode 27 = Meta_bracketright
  73. keycode 28 = Return
  74. alt keycode 28 = Meta_Control_m
  75. keycode 29 = Control
  76. keycode 30 = a
  77. altgr keycode 30 = Hex_A
  78. keycode 31 = s
  79. keycode 32 = d
  80. altgr keycode 32 = Hex_D
  81. keycode 33 = f
  82. altgr keycode 33 = Hex_F
  83. keycode 34 = g
  84. keycode 35 = h
  85. keycode 36 = j
  86. keycode 37 = k
  87. keycode 38 = l
  88. keycode 39 = semicolon colon
  89. alt keycode 39 = Meta_semicolon
  90. keycode 40 = apostrophe quotedbl
  91. control keycode 40 = Control_g
  92. alt keycode 40 = Meta_apostrophe
  93. keycode 41 = grave asciitilde
  94. control keycode 41 = nul
  95. alt keycode 41 = Meta_grave
  96. keycode 42 = Shift
  97. keycode 43 = backslash bar
  98. control keycode 43 = Control_backslash
  99. alt keycode 43 = Meta_backslash
  100. keycode 44 = z
  101. keycode 45 = x
  102. keycode 46 = c
  103. altgr keycode 46 = Hex_C
  104. keycode 47 = v
  105. keycode 48 = b
  106. altgr keycode 48 = Hex_B
  107. keycode 49 = n
  108. keycode 50 = m
  109. keycode 51 = comma less
  110. alt keycode 51 = Meta_comma
  111. keycode 52 = period greater
  112. control keycode 52 = Compose
  113. alt keycode 52 = Meta_period
  114. keycode 53 = slash question
  115. control keycode 53 = Delete
  116. alt keycode 53 = Meta_slash
  117. keycode 54 = Shift
  118. keycode 55 = KP_Multiply
  119. keycode 56 = Alt
  120. keycode 57 = space space
  121. control keycode 57 = nul
  122. alt keycode 57 = Meta_space
  123. keycode 58 = Caps_Lock
  124. keycode 59 = F1 F11 Console_13
  125. control keycode 59 = F1
  126. alt keycode 59 = Console_1
  127. control alt keycode 59 = Console_1
  128. keycode 60 = F2 F12 Console_14
  129. control keycode 60 = F2
  130. alt keycode 60 = Console_2
  131. control alt keycode 60 = Console_2
  132. keycode 61 = F3 F13 Console_15
  133. control keycode 61 = F3
  134. alt keycode 61 = Console_3
  135. control alt keycode 61 = Console_3
  136. keycode 62 = F4 F14 Console_16
  137. control keycode 62 = F4
  138. alt keycode 62 = Console_4
  139. control alt keycode 62 = Console_4
  140. keycode 63 = F5 F15 Console_17
  141. control keycode 63 = F5
  142. alt keycode 63 = Console_5
  143. control alt keycode 63 = Console_5
  144. keycode 64 = F6 F16 Console_18
  145. control keycode 64 = F6
  146. alt keycode 64 = Console_6
  147. control alt keycode 64 = Console_6
  148. keycode 65 = F7 F17 Console_19
  149. control keycode 65 = F7
  150. alt keycode 65 = Console_7
  151. control alt keycode 65 = Console_7
  152. keycode 66 = F8 F18 Console_20
  153. control keycode 66 = F8
  154. alt keycode 66 = Console_8
  155. control alt keycode 66 = Console_8
  156. keycode 67 = F9 F19 Console_21
  157. control keycode 67 = F9
  158. alt keycode 67 = Console_9
  159. control alt keycode 67 = Console_9
  160. keycode 68 = F10 F20 Console_22
  161. control keycode 68 = F10
  162. alt keycode 68 = Console_10
  163. control alt keycode 68 = Console_10
  164. keycode 69 = Num_Lock
  165. shift keycode 69 = Bare_Num_Lock
  166. keycode 70 = Scroll_Lock Show_Memory Show_Registers
  167. control keycode 70 = Show_State
  168. alt keycode 70 = Scroll_Lock
  169. keycode 71 = KP_7
  170. alt keycode 71 = Ascii_7
  171. altgr keycode 71 = Hex_7
  172. keycode 72 = KP_8
  173. alt keycode 72 = Ascii_8
  174. altgr keycode 72 = Hex_8
  175. keycode 73 = KP_9
  176. alt keycode 73 = Ascii_9
  177. altgr keycode 73 = Hex_9
  178. keycode 74 = KP_Subtract
  179. keycode 75 = KP_4
  180. alt keycode 75 = Ascii_4
  181. altgr keycode 75 = Hex_4
  182. keycode 76 = KP_5
  183. alt keycode 76 = Ascii_5
  184. altgr keycode 76 = Hex_5
  185. keycode 77 = KP_6
  186. alt keycode 77 = Ascii_6
  187. altgr keycode 77 = Hex_6
  188. keycode 78 = KP_Add
  189. keycode 79 = KP_1
  190. alt keycode 79 = Ascii_1
  191. altgr keycode 79 = Hex_1
  192. keycode 80 = KP_2
  193. alt keycode 80 = Ascii_2
  194. altgr keycode 80 = Hex_2
  195. keycode 81 = KP_3
  196. alt keycode 81 = Ascii_3
  197. altgr keycode 81 = Hex_3
  198. keycode 82 = KP_0
  199. alt keycode 82 = Ascii_0
  200. altgr keycode 82 = Hex_0
  201. keycode 83 = KP_Period
  202. # altgr control keycode 83 = Boot
  203. control alt keycode 83 = Boot
  204. keycode 84 = Last_Console
  205. keycode 85 =
  206. keycode 86 = less greater bar
  207. alt keycode 86 = Meta_less
  208. keycode 87 = F11 F11 Console_23
  209. control keycode 87 = F11
  210. alt keycode 87 = Console_11
  211. control alt keycode 87 = Console_11
  212. keycode 88 = F12 F12 Console_24
  213. control keycode 88 = F12
  214. alt keycode 88 = Console_12
  215. control alt keycode 88 = Console_12
  216. keycode 89 =
  217. keycode 90 =
  218. keycode 91 =
  219. keycode 92 =
  220. keycode 93 =
  221. keycode 94 =
  222. keycode 95 =
  223. keycode 96 = KP_Enter
  224. keycode 97 = Control
  225. keycode 98 = KP_Divide
  226. keycode 99 = Control_backslash
  227. control keycode 99 = Control_backslash
  228. alt keycode 99 = Control_backslash
  229. keycode 100 = AltGr
  230. keycode 101 = Break
  231. keycode 102 = Find
  232. keycode 103 = Up
  233. keycode 104 = Prior
  234. shift keycode 104 = Scroll_Backward
  235. keycode 105 = Left
  236. alt keycode 105 = Decr_Console
  237. keycode 106 = Right
  238. alt keycode 106 = Incr_Console
  239. keycode 107 = Select
  240. keycode 108 = Down
  241. keycode 109 = Next
  242. shift keycode 109 = Scroll_Forward
  243. keycode 110 = Insert
  244. keycode 111 = Remove
  245. # altgr control keycode 111 = Boot
  246. control alt keycode 111 = Boot
  247. keycode 112 = Macro
  248. keycode 113 = F13
  249. keycode 114 = F14
  250. keycode 115 = Help
  251. keycode 116 = Do
  252. keycode 117 = F17
  253. keycode 118 = KP_MinPlus
  254. keycode 119 = Pause
  255. keycode 120 =
  256. keycode 121 =
  257. keycode 122 =
  258. keycode 123 =
  259. keycode 124 =
  260. keycode 125 =
  261. keycode 126 =
  262. keycode 127 =
  263. string F1 = "\033[[A"
  264. string F2 = "\033[[B"
  265. string F3 = "\033[[C"
  266. string F4 = "\033[[D"
  267. string F5 = "\033[[E"
  268. string F6 = "\033[17~"
  269. string F7 = "\033[18~"
  270. string F8 = "\033[19~"
  271. string F9 = "\033[20~"
  272. string F10 = "\033[21~"
  273. string F11 = "\033[23~"
  274. string F12 = "\033[24~"
  275. string F13 = "\033[25~"
  276. string F14 = "\033[26~"
  277. string F15 = "\033[28~"
  278. string F16 = "\033[29~"
  279. string F17 = "\033[31~"
  280. string F18 = "\033[32~"
  281. string F19 = "\033[33~"
  282. string F20 = "\033[34~"
  283. string Find = "\033[1~"
  284. string Insert = "\033[2~"
  285. string Remove = "\033[3~"
  286. string Select = "\033[4~"
  287. string Prior = "\033[5~"
  288. string Next = "\033[6~"
  289. string Macro = "\033[M"
  290. string Pause = "\033[P"
  291. compose '`' 'A' to 'À'
  292. compose '`' 'a' to 'à'
  293. compose '\'' 'A' to 'Á'
  294. compose '\'' 'a' to 'á'
  295. compose '^' 'A' to 'Â'
  296. compose '^' 'a' to 'â'
  297. compose '~' 'A' to 'Ã'
  298. compose '~' 'a' to 'ã'
  299. compose '"' 'A' to 'Ä'
  300. compose '"' 'a' to 'ä'
  301. compose 'O' 'A' to 'Å'
  302. compose 'o' 'a' to 'å'
  303. compose '0' 'A' to 'Å'
  304. compose '0' 'a' to 'å'
  305. compose 'A' 'A' to 'Å'
  306. compose 'a' 'a' to 'å'
  307. compose 'A' 'E' to 'Æ'
  308. compose 'a' 'e' to 'æ'
  309. compose ',' 'C' to 'Ç'
  310. compose ',' 'c' to 'ç'
  311. compose '`' 'E' to 'È'
  312. compose '`' 'e' to 'è'
  313. compose '\'' 'E' to 'É'
  314. compose '\'' 'e' to 'é'
  315. compose '^' 'E' to 'Ê'
  316. compose '^' 'e' to 'ê'
  317. compose '"' 'E' to 'Ë'
  318. compose '"' 'e' to 'ë'
  319. compose '`' 'I' to 'Ì'
  320. compose '`' 'i' to 'ì'
  321. compose '\'' 'I' to 'Í'
  322. compose '\'' 'i' to 'í'
  323. compose '^' 'I' to 'Î'
  324. compose '^' 'i' to 'î'
  325. compose '"' 'I' to 'Ï'
  326. compose '"' 'i' to 'ï'
  327. compose '-' 'D' to 'Ð'
  328. compose '-' 'd' to 'ð'
  329. compose '~' 'N' to 'Ñ'
  330. compose '~' 'n' to 'ñ'
  331. compose '`' 'O' to 'Ò'
  332. compose '`' 'o' to 'ò'
  333. compose '\'' 'O' to 'Ó'
  334. compose '\'' 'o' to 'ó'
  335. compose '^' 'O' to 'Ô'
  336. compose '^' 'o' to 'ô'
  337. compose '~' 'O' to 'Õ'
  338. compose '~' 'o' to 'õ'
  339. compose '"' 'O' to 'Ö'
  340. compose '"' 'o' to 'ö'
  341. compose '/' 'O' to 'Ø'
  342. compose '/' 'o' to 'ø'
  343. compose '`' 'U' to 'Ù'
  344. compose '`' 'u' to 'ù'
  345. compose '\'' 'U' to 'Ú'
  346. compose '\'' 'u' to 'ú'
  347. compose '^' 'U' to 'Û'
  348. compose '^' 'u' to 'û'
  349. compose '"' 'U' to 'Ü'
  350. compose '"' 'u' to 'ü'
  351. compose '\'' 'Y' to 'Ý'
  352. compose '\'' 'y' to 'ý'
  353. compose 'T' 'H' to 'Þ'
  354. compose 't' 'h' to 'þ'
  355. compose 's' 's' to 'ß'
  356. compose '"' 'y' to 'ÿ'
  357. compose 's' 'z' to 'ß'
  358. compose 'i' 'j' to 'ÿ'