sv 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. map 0x0000041d
  2. Shift_R 0x36
  3. Shift_L 0x2a
  4. Alt_R 0xb8
  5. Mode_switch 0xb8
  6. ISO_Level3_Shift 0xb8
  7. Alt_L 0x38
  8. Control_R 0x9d
  9. Control_L 0x1d
  10. # Translate Super to Windows keys.
  11. # This is hardcoded. See documentation for details.
  12. Super_R 0xdc
  13. Super_L 0xdb
  14. # Translate Menu to the Windows Application key.
  15. Menu 0xdd
  16. #
  17. # Top row
  18. #
  19. 1 0x2
  20. 2 0x3
  21. 3 0x4
  22. 4 0x5
  23. 5 0x6
  24. 6 0x7
  25. 7 0x8
  26. 8 0x9
  27. 9 0xa
  28. 0 0xb
  29. BackSpace 0xe
  30. #
  31. # QWERTY first row
  32. #
  33. Tab 0xf localstate
  34. ISO_Left_Tab 0xf shift
  35. q 0x10 addupper
  36. w 0x11 addupper
  37. e 0x12 addupper
  38. r 0x13 addupper
  39. t 0x14 addupper
  40. y 0x15 addupper
  41. u 0x16 addupper
  42. i 0x17 addupper
  43. o 0x18 addupper
  44. p 0x19 addupper
  45. #
  46. # QWERTY second row
  47. #
  48. a 0x1e addupper
  49. s 0x1f addupper
  50. d 0x20 addupper
  51. f 0x21 addupper
  52. g 0x22 addupper
  53. h 0x23 addupper
  54. j 0x24 addupper
  55. k 0x25 addupper
  56. l 0x26 addupper
  57. Return 0x1c localstate
  58. #
  59. # QWERTY third row
  60. #
  61. z 0x2c addupper
  62. x 0x2d addupper
  63. c 0x2e addupper
  64. v 0x2f addupper
  65. b 0x30 addupper
  66. n 0x31 addupper
  67. m 0x32 addupper
  68. space 0x39 localstate
  69. less 0x56
  70. greater 0x56 shift
  71. bar 0x56 altgr
  72. brokenbar 0x56 shift altgr
  73. #
  74. # Esc and Function keys
  75. #
  76. Escape 0x1 localstate
  77. F1 0x3b localstate
  78. F2 0x3c localstate
  79. F3 0x3d localstate
  80. F4 0x3e localstate
  81. F5 0x3f localstate
  82. F6 0x40 localstate
  83. F7 0x41 localstate
  84. F8 0x42 localstate
  85. F9 0x43 localstate
  86. F10 0x44 localstate
  87. F11 0x57 localstate
  88. F12 0x58 localstate
  89. # Printscreen, Scrollock and Pause
  90. # Printscreen really requires four scancodes (0xe0, 0x2a, 0xe0, 0x37),
  91. # but (0xe0, 0x37) seems to work.
  92. Print 0xb7 localstate
  93. Sys_Req 0xb7 localstate
  94. Execute 0xb7 localstate
  95. Scroll_Lock 0x46
  96. #
  97. # Insert - PgDown
  98. #
  99. Insert 0xd2 localstate
  100. Delete 0xd3 localstate
  101. Home 0xc7 localstate
  102. End 0xcf localstate
  103. Page_Up 0xc9 localstate
  104. Page_Down 0xd1 localstate
  105. #
  106. # Arrow keys
  107. #
  108. Left 0xcb localstate
  109. Up 0xc8 localstate
  110. Down 0xd0 localstate
  111. Right 0xcd localstate
  112. #
  113. # Numpad
  114. #
  115. Num_Lock 0x45
  116. KP_Divide 0xb5
  117. KP_Multiply 0x37
  118. KP_Subtract 0x4a
  119. KP_Add 0x4e
  120. KP_Enter 0x9c
  121. KP_Decimal 0x53 numlock
  122. KP_Separator 0x53 numlock
  123. KP_Delete 0x53
  124. KP_0 0x52 numlock
  125. KP_Insert 0x52
  126. KP_1 0x4f numlock
  127. KP_End 0x4f
  128. KP_2 0x50 numlock
  129. KP_Down 0x50
  130. KP_3 0x51 numlock
  131. KP_Next 0x51
  132. KP_4 0x4b numlock
  133. KP_Left 0x4b
  134. KP_5 0x4c numlock
  135. KP_Begin 0x4c
  136. KP_6 0x4d numlock
  137. KP_Right 0x4d
  138. KP_7 0x47 numlock
  139. KP_Home 0x47
  140. KP_8 0x48 numlock
  141. KP_Up 0x48
  142. KP_9 0x49 numlock
  143. KP_Prior 0x49
  144. Caps_Lock 0x3a
  145. #
  146. # Inhibited keys
  147. #
  148. Multi_key 0x0 inhibit
  149. #
  150. # Top row
  151. #
  152. section 0x29
  153. onehalf 0x29 shift
  154. # 1
  155. exclam 0x2 shift
  156. # 2
  157. quotedbl 0x3 shift
  158. at 0x3 altgr
  159. # 3
  160. numbersign 0x4 shift
  161. sterling 0x4 altgr
  162. # 4
  163. currency 0x5 shift
  164. dollar 0x5 altgr
  165. # 5
  166. percent 0x6 shift
  167. # 6
  168. ampersand 0x7 shift
  169. # 7
  170. slash 0x8 shift
  171. braceleft 0x8 altgr
  172. # 8
  173. parenleft 0x9 shift
  174. bracketleft 0x9 altgr
  175. # 9
  176. parenright 0xa shift
  177. bracketright 0xa altgr
  178. # 0
  179. equal 0xb shift
  180. braceright 0xb altgr
  181. plus 0xc
  182. question 0xc shift
  183. backslash 0xc altgr
  184. acute 0xd
  185. dead_acute 0xd
  186. grave 0xd shift
  187. dead_grave 0xd shift
  188. #
  189. # QWERTY first row
  190. #
  191. EuroSign 0x12 altgr
  192. aring 0x1a
  193. Aring 0x1a shift
  194. dead_diaeresis 0x1b
  195. dead_circumflex 0x1b shift
  196. dead_tilde 0x1b altgr
  197. #
  198. # QWERTY second row
  199. #
  200. odiaeresis 0x27
  201. Odiaeresis 0x27 shift
  202. adiaeresis 0x28
  203. Adiaeresis 0x28 shift
  204. apostrophe 0x2b
  205. asterisk 0x2b shift
  206. #
  207. # QWERTY third row
  208. #
  209. less 0x56
  210. greater 0x56 shift
  211. bar 0x56 altgr
  212. mu 0x32 altgr
  213. comma 0x33
  214. semicolon 0x33 shift
  215. period 0x34
  216. colon 0x34 shift
  217. minus 0x35
  218. underscore 0x35 shift