hp300map.map 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. # HP300 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 =
  15. keycode 2 = Alt
  16. keycode 3 = Alt
  17. keycode 4 = Shift
  18. keycode 5 = Shift
  19. keycode 6 = Control
  20. keycode 7 =
  21. keycode 8 =
  22. keycode 9 =
  23. keycode 10 =
  24. keycode 11 =
  25. keycode 12 =
  26. keycode 13 =
  27. keycode 14 =
  28. keycode 15 =
  29. keycode 16 =
  30. keycode 17 =
  31. keycode 18 =
  32. keycode 19 =
  33. keycode 20 =
  34. keycode 21 =
  35. keycode 22 =
  36. keycode 23 =
  37. keycode 24 = b
  38. keycode 25 = v
  39. keycode 26 = c
  40. keycode 27 = x
  41. keycode 28 = z
  42. keycode 29 =
  43. keycode 30 =
  44. keycode 31 = Escape Delete
  45. keycode 32 =
  46. keycode 33 =
  47. keycode 34 =
  48. keycode 35 =
  49. keycode 36 =
  50. keycode 37 =
  51. keycode 38 =
  52. keycode 39 =
  53. keycode 40 = h
  54. keycode 41 = g
  55. keycode 42 = f
  56. keycode 43 = d
  57. keycode 44 = s
  58. keycode 45 = a
  59. keycode 46 =
  60. keycode 47 = Caps_Lock
  61. keycode 48 = u
  62. keycode 49 = y
  63. keycode 50 = t
  64. keycode 51 = r
  65. keycode 52 = e
  66. keycode 53 = w
  67. keycode 54 = q
  68. keycode 55 = Tab Tab
  69. alt keycode 55 = Meta_Tab
  70. keycode 56 = seven ampersand
  71. keycode 57 = six asciicircum
  72. keycode 58 = five percent
  73. keycode 59 = four dollar
  74. keycode 60 = three numbersign
  75. keycode 61 = two at at
  76. keycode 62 = one exclam exclam
  77. keycode 63 = grave asciitilde
  78. control keycode 63 = nul
  79. alt keycode 63 = Meta_grave
  80. keycode 64 =
  81. keycode 65 =
  82. keycode 66 =
  83. keycode 67 =
  84. keycode 68 =
  85. keycode 69 =
  86. keycode 70 =
  87. keycode 71 =
  88. keycode 72 =
  89. keycode 73 = F4
  90. control keycode 73 = Console_4
  91. keycode 74 = F3
  92. control keycode 74 = Console_3
  93. keycode 75 = F2
  94. control keycode 75 = Console_2
  95. keycode 76 = F1
  96. control keycode 76 = Console_1
  97. keycode 77 =
  98. keycode 78 =
  99. keycode 79 =
  100. keycode 80 =
  101. keycode 81 = F5
  102. control keycode 81 = Console_5
  103. keycode 82 = F6
  104. control keycode 82 = Console_6
  105. keycode 83 = F7
  106. control keycode 83 = Console_7
  107. keycode 84 = F8
  108. control keycode 84 = Console_8
  109. keycode 85 =
  110. keycode 86 =
  111. keycode 87 =
  112. keycode 88 = eight asterisk asterisk
  113. keycode 89 = nine parenleft bracketleft
  114. keycode 90 = zero parenright bracketright
  115. keycode 91 = minus underscore
  116. keycode 92 = equal plus
  117. keycode 93 = BackSpace
  118. keycode 94 =
  119. keycode 95 =
  120. keycode 96 = i
  121. keycode 97 = o
  122. keycode 98 = p
  123. keycode 99 = bracketleft braceleft
  124. keycode 100 = bracketright braceright
  125. keycode 101 = backslash bar
  126. control keycode 101 = Control_backslash
  127. alt keycode 101 = Meta_backslash
  128. keycode 102 =
  129. keycode 103 =
  130. keycode 104 = j
  131. keycode 105 = k
  132. keycode 106 = l
  133. keycode 107 = semicolon colon
  134. alt keycode 107 = Meta_semicolon
  135. keycode 108 = apostrophe quotedbl
  136. control keycode 108 = Control_g
  137. alt keycode 108 = Meta_apostrophe
  138. keycode 109 = Return
  139. keycode 110 =
  140. keycode 111 =
  141. keycode 112 = m
  142. keycode 113 = comma less
  143. keycode 114 = period greater
  144. keycode 115 = slash question
  145. keycode 116 =
  146. keycode 117 =
  147. keycode 118 =
  148. keycode 119 =
  149. keycode 120 = n
  150. keycode 121 = space space
  151. keycode 122 =
  152. keycode 123 =
  153. keycode 124 = Left
  154. keycode 125 = Down
  155. keycode 126 = Up
  156. keycode 127 = Right
  157. string F1 = "\033[[A"
  158. string F2 = "\033[[B"
  159. string F3 = "\033[[C"
  160. string F4 = "\033[[D"
  161. string F5 = "\033[[E"
  162. string F6 = "\033[17~"
  163. string F7 = "\033[18~"
  164. string F8 = "\033[19~"
  165. string F9 = "\033[20~"
  166. string F10 = "\033[21~"
  167. string F11 = "\033[23~"
  168. string F12 = "\033[24~"
  169. string F13 = "\033[25~"
  170. string F14 = "\033[26~"
  171. string F15 = "\033[28~"
  172. string F16 = "\033[29~"
  173. string F17 = "\033[31~"
  174. string F18 = "\033[32~"
  175. string F19 = "\033[33~"
  176. string F20 = "\033[34~"
  177. string Find = "\033[1~"
  178. string Insert = "\033[2~"
  179. string Remove = "\033[3~"
  180. string Select = "\033[4~"
  181. string Prior = "\033[5~"
  182. string Next = "\033[6~"
  183. string Macro = "\033[M"
  184. string Pause = "\033[P"
  185. compose '`' 'A' to 'À'
  186. compose '`' 'a' to 'à'
  187. compose '\'' 'A' to 'Á'
  188. compose '\'' 'a' to 'á'
  189. compose '^' 'A' to 'Â'
  190. compose '^' 'a' to 'â'
  191. compose '~' 'A' to 'Ã'
  192. compose '~' 'a' to 'ã'
  193. compose '"' 'A' to 'Ä'
  194. compose '"' 'a' to 'ä'
  195. compose 'O' 'A' to 'Å'
  196. compose 'o' 'a' to 'å'
  197. compose '0' 'A' to 'Å'
  198. compose '0' 'a' to 'å'
  199. compose 'A' 'A' to 'Å'
  200. compose 'a' 'a' to 'å'
  201. compose 'A' 'E' to 'Æ'
  202. compose 'a' 'e' to 'æ'
  203. compose ',' 'C' to 'Ç'
  204. compose ',' 'c' to 'ç'
  205. compose '`' 'E' to 'È'
  206. compose '`' 'e' to 'è'
  207. compose '\'' 'E' to 'É'
  208. compose '\'' 'e' to 'é'
  209. compose '^' 'E' to 'Ê'
  210. compose '^' 'e' to 'ê'
  211. compose '"' 'E' to 'Ë'
  212. compose '"' 'e' to 'ë'
  213. compose '`' 'I' to 'Ì'
  214. compose '`' 'i' to 'ì'
  215. compose '\'' 'I' to 'Í'
  216. compose '\'' 'i' to 'í'
  217. compose '^' 'I' to 'Î'
  218. compose '^' 'i' to 'î'
  219. compose '"' 'I' to 'Ï'
  220. compose '"' 'i' to 'ï'
  221. compose '-' 'D' to 'Ð'
  222. compose '-' 'd' to 'ð'
  223. compose '~' 'N' to 'Ñ'
  224. compose '~' 'n' to 'ñ'
  225. compose '`' 'O' to 'Ò'
  226. compose '`' 'o' to 'ò'
  227. compose '\'' 'O' to 'Ó'
  228. compose '\'' 'o' to 'ó'
  229. compose '^' 'O' to 'Ô'
  230. compose '^' 'o' to 'ô'
  231. compose '~' 'O' to 'Õ'
  232. compose '~' 'o' to 'õ'
  233. compose '"' 'O' to 'Ö'
  234. compose '"' 'o' to 'ö'
  235. compose '/' 'O' to 'Ø'
  236. compose '/' 'o' to 'ø'
  237. compose '`' 'U' to 'Ù'
  238. compose '`' 'u' to 'ù'
  239. compose '\'' 'U' to 'Ú'
  240. compose '\'' 'u' to 'ú'
  241. compose '^' 'U' to 'Û'
  242. compose '^' 'u' to 'û'
  243. compose '"' 'U' to 'Ü'
  244. compose '"' 'u' to 'ü'
  245. compose '\'' 'Y' to 'Ý'
  246. compose '\'' 'y' to 'ý'
  247. compose 'T' 'H' to 'Þ'
  248. compose 't' 'h' to 'þ'
  249. compose 's' 's' to 'ß'
  250. compose '"' 'y' to 'ÿ'
  251. compose 's' 'z' to 'ß'
  252. compose 'i' 'j' to 'ÿ'