linux-keys-bare.inc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. # Linux-specific (and language-independent) keys
  2. #
  3. # This file describes function keys, console switching keys,
  4. # keypad, cursor keys, and SysRq, ScrollLock, Pause
  5. #
  6. # It does not use the AltGr modifier, so that the user can opt
  7. # to have both Alt keys produce the same effect.
  8. # As a consequence, the Hex_* keys are missing, as are
  9. # control altgr keycode 83 = Boot
  10. # control altgr keycode 111 = Boot
  11. #
  12. # One culture-specific item that will be overridden in many keymaps
  13. # is the KP_Period: many countries have a KP_Comma instead.
  14. #
  15. # One user-preference item will be the function of the Delete key.
  16. #
  17. # Old keyboards have 10 function keys, and keymaps have
  18. # sometimes used shift+F1 = F11, and sometimes shift+F1 = F13.
  19. # Here we assume an enhanced keyboard (with 12 function keys).
  20. #
  21. plain keycode 59 = F1
  22. plain keycode 60 = F2
  23. plain keycode 61 = F3
  24. plain keycode 62 = F4
  25. plain keycode 63 = F5
  26. plain keycode 64 = F6
  27. plain keycode 65 = F7
  28. plain keycode 66 = F8
  29. plain keycode 67 = F9
  30. plain keycode 68 = F10
  31. plain keycode 87 = F11
  32. plain keycode 88 = F12
  33. shift keycode 59 = F13
  34. shift keycode 60 = F14
  35. shift keycode 61 = F15
  36. shift keycode 62 = F16
  37. shift keycode 63 = F17
  38. shift keycode 64 = F18
  39. shift keycode 65 = F19
  40. shift keycode 66 = F20
  41. shift keycode 67 = F21
  42. shift keycode 68 = F22
  43. shift keycode 87 = F23
  44. shift keycode 88 = F24
  45. control keycode 59 = F25
  46. control keycode 60 = F26
  47. control keycode 61 = F27
  48. control keycode 62 = F28
  49. control keycode 63 = F29
  50. control keycode 64 = F30
  51. control keycode 65 = F31
  52. control keycode 66 = F32
  53. control keycode 67 = F33
  54. control keycode 68 = F34
  55. control keycode 87 = F35
  56. control keycode 88 = F36
  57. #
  58. # The canonical assignment for F37-F48 uses
  59. # control shift keycode 59 = F37
  60. # etc. If you want that, load linux-keys-extd.inc
  61. #
  62. # Both Alt+Fn and Control+Alt+Fn switch to Console n
  63. # (in order to please Linux / dosemu / X).
  64. # Here Consoles 1..12. For 13..24 load linux-keys-extd.inc
  65. #
  66. alt keycode 59 = Console_1
  67. alt keycode 60 = Console_2
  68. alt keycode 61 = Console_3
  69. alt keycode 62 = Console_4
  70. alt keycode 63 = Console_5
  71. alt keycode 64 = Console_6
  72. alt keycode 65 = Console_7
  73. alt keycode 66 = Console_8
  74. alt keycode 67 = Console_9
  75. alt keycode 68 = Console_10
  76. alt keycode 87 = Console_11
  77. alt keycode 88 = Console_12
  78. control alt keycode 59 = Console_1
  79. control alt keycode 60 = Console_2
  80. control alt keycode 61 = Console_3
  81. control alt keycode 62 = Console_4
  82. control alt keycode 63 = Console_5
  83. control alt keycode 64 = Console_6
  84. control alt keycode 65 = Console_7
  85. control alt keycode 66 = Console_8
  86. control alt keycode 67 = Console_9
  87. control alt keycode 68 = Console_10
  88. control alt keycode 87 = Console_11
  89. control alt keycode 88 = Console_12
  90. #
  91. # Keypad keys
  92. #
  93. keycode 69 = Num_Lock
  94. keycode 98 = KP_Divide
  95. keycode 55 = KP_Multiply
  96. keycode 74 = KP_Subtract
  97. keycode 78 = KP_Add
  98. keycode 96 = KP_Enter
  99. #
  100. keycode 71 = KP_7
  101. keycode 72 = KP_8
  102. keycode 73 = KP_9
  103. keycode 75 = KP_4
  104. keycode 76 = KP_5
  105. keycode 77 = KP_6
  106. keycode 79 = KP_1
  107. keycode 80 = KP_2
  108. keycode 81 = KP_3
  109. keycode 82 = KP_0
  110. #
  111. keycode 83 = KP_Period # or KP_Comma
  112. control alt keycode 83 = Boot
  113. #
  114. alt keycode 71 = Ascii_7
  115. alt keycode 72 = Ascii_8
  116. alt keycode 73 = Ascii_9
  117. alt keycode 75 = Ascii_4
  118. alt keycode 76 = Ascii_5
  119. alt keycode 77 = Ascii_6
  120. alt keycode 79 = Ascii_1
  121. alt keycode 80 = Ascii_2
  122. alt keycode 81 = Ascii_3
  123. alt keycode 82 = Ascii_0
  124. #
  125. # The four cursor keys
  126. #
  127. keycode 103 = Up
  128. keycode 105 = Left
  129. keycode 106 = Right
  130. keycode 108 = Down
  131. alt keycode 103 = KeyboardSignal
  132. alt keycode 105 = Decr_Console
  133. alt keycode 106 = Incr_Console
  134. #
  135. # The six edit keys
  136. #
  137. keycode 110 = Insert
  138. keycode 102 = Home # Find
  139. keycode 104 = PageUp # Prior
  140. keycode 111 = Remove
  141. keycode 107 = End # Select
  142. keycode 109 = PageDown # Next
  143. shift keycode 104 = Scroll_Backward
  144. shift keycode 109 = Scroll_Forward
  145. control alt keycode 111 = Boot
  146. #
  147. # The three system keys
  148. #
  149. keycode 84 = Last_Console # Alt+SysRq/PrintScrn
  150. #keycode 99 = VoidSymbol # SysRq/PrintScrn
  151. keycode 99 = Compose # SysRq/PrintScrn
  152. alt keycode 99 = Control_backslash
  153. control keycode 99 = Control_backslash
  154. plain keycode 70 = Scroll_Lock
  155. shift keycode 70 = Show_Memory
  156. control keycode 70 = Show_State
  157. alt keycode 70 = Show_Registers
  158. keycode 101 = Break # Ctrl+Break/Pause
  159. keycode 119 = Pause # Break/Pause