defkeymap.map 12 KB

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