keys.ini
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:11k
源码类别:

游戏引擎

开发平台:

C++ Builder

  1. # keys.ini
  2. #
  3. # keyboard binding initialization
  4. #
  5. # comments must have # in the first column
  6. # blank lines OK
  7. #
  8. # Format:
  9. # mode key mask function
  10. #
  11. # mode must be one of FIRST_PERSON, THIRD_PERSON, EDIT, EDIT_AVATAR, or CONVERSATION
  12. # key must be upper case, or SPACE, HOME, END, PGUP, PGDN, LEFT, RIGHT, UP, DOWN,
  13. #     or one of ,.;'[]
  14. # mask must be NONE, SHIFT, ALT, ALT_SHIFT.
  15. # Control is reserved for user commands.
  16. # function must be a function named in llkeyboard.cpp
  17. FIRST_PERSON A NONE slide_left
  18. FIRST_PERSON D NONE slide_right
  19. FIRST_PERSON W NONE push_forward
  20. FIRST_PERSON S NONE push_backward
  21. FIRST_PERSON E NONE jump
  22. FIRST_PERSON C NONE push_down
  23. FIRST_PERSON F NONE toggle_fly
  24. FIRST_PERSON LEFT NONE slide_left
  25. FIRST_PERSON RIGHT NONE slide_right
  26. FIRST_PERSON UP NONE push_forward
  27. FIRST_PERSON DOWN NONE push_backward
  28. FIRST_PERSON PGUP NONE jump
  29. FIRST_PERSON PGDN NONE push_down
  30. FIRST_PERSON HOME NONE toggle_fly
  31. FIRST_PERSON PAD_LEFT NONE slide_left
  32. FIRST_PERSON PAD_RIGHT NONE slide_right
  33. FIRST_PERSON PAD_UP NONE push_forward
  34. FIRST_PERSON PAD_DOWN NONE push_backward
  35. FIRST_PERSON PAD_PGUP NONE jump
  36. FIRST_PERSON PAD_PGDN NONE push_down
  37. FIRST_PERSON PAD_HOME NONE toggle_fly
  38. FIRST_PERSON PAD_CENTER NONE stop_moving
  39. FIRST_PERSON PAD_ENTER NONE start_chat
  40. FIRST_PERSON PAD_DIVIDE NONE start_gesture
  41. FIRST_PERSON A SHIFT slide_left
  42. FIRST_PERSON D SHIFT slide_right
  43. FIRST_PERSON W SHIFT push_forward
  44. FIRST_PERSON S SHIFT push_backward
  45. FIRST_PERSON E SHIFT jump
  46. FIRST_PERSON C SHIFT push_down
  47. FIRST_PERSON F SHIFT toggle_fly
  48. FIRST_PERSON SPACE NONE stop_moving
  49. FIRST_PERSON ENTER NONE start_chat
  50. FIRST_PERSON DIVIDE NONE start_gesture
  51. FIRST_PERSON LEFT SHIFT slide_left
  52. FIRST_PERSON RIGHT SHIFT slide_right
  53. FIRST_PERSON UP SHIFT push_forward
  54. FIRST_PERSON DOWN SHIFT push_backward
  55. FIRST_PERSON PGUP SHIFT jump
  56. FIRST_PERSON PGDN SHIFT push_down
  57. FIRST_PERSON PAD_LEFT SHIFT slide_left
  58. FIRST_PERSON PAD_RIGHT SHIFT slide_right
  59. FIRST_PERSON PAD_UP SHIFT push_forward
  60. FIRST_PERSON PAD_DOWN SHIFT push_backward
  61. FIRST_PERSON PAD_PGUP SHIFT jump
  62. FIRST_PERSON PAD_PGDN SHIFT push_down
  63. FIRST_PERSON PAD_HOME SHIFT toggle_fly
  64. FIRST_PERSON PAD_ENTER SHIFT start_chat
  65. FIRST_PERSON PAD_DIVIDE SHIFT start_gesture
  66. THIRD_PERSON A NONE turn_left
  67. THIRD_PERSON D NONE turn_right
  68. THIRD_PERSON A SHIFT slide_left
  69. THIRD_PERSON D SHIFT slide_right
  70. THIRD_PERSON W NONE push_forward
  71. THIRD_PERSON S NONE push_backward
  72. THIRD_PERSON W SHIFT push_forward
  73. THIRD_PERSON S SHIFT push_backward
  74. THIRD_PERSON E NONE jump
  75. THIRD_PERSON C NONE push_down
  76. THIRD_PERSON E SHIFT jump
  77. THIRD_PERSON C SHIFT push_down
  78. THIRD_PERSON F NONE toggle_fly
  79. THIRD_PERSON F SHIFT toggle_fly
  80. THIRD_PERSON SPACE NONE stop_moving
  81. THIRD_PERSON ENTER NONE start_chat
  82. THIRD_PERSON DIVIDE NONE start_gesture
  83. THIRD_PERSON LEFT NONE turn_left
  84. THIRD_PERSON LEFT SHIFT slide_left
  85. THIRD_PERSON RIGHT NONE turn_right
  86. THIRD_PERSON RIGHT SHIFT slide_right
  87. THIRD_PERSON UP NONE push_forward
  88. THIRD_PERSON DOWN NONE push_backward
  89. THIRD_PERSON UP SHIFT push_forward
  90. THIRD_PERSON DOWN SHIFT push_backward
  91. THIRD_PERSON PGUP NONE jump
  92. THIRD_PERSON PGDN NONE push_down
  93. THIRD_PERSON PGUP SHIFT jump
  94. THIRD_PERSON PGDN SHIFT push_down
  95. THIRD_PERSON HOME SHIFT toggle_fly
  96. THIRD_PERSON HOME NONE toggle_fly
  97. THIRD_PERSON PAD_LEFT NONE turn_left
  98. THIRD_PERSON PAD_LEFT SHIFT slide_left
  99. THIRD_PERSON PAD_RIGHT NONE turn_right
  100. THIRD_PERSON PAD_RIGHT SHIFT slide_right
  101. THIRD_PERSON PAD_UP NONE push_forward
  102. THIRD_PERSON PAD_DOWN NONE push_backward
  103. THIRD_PERSON PAD_UP SHIFT push_forward
  104. THIRD_PERSON PAD_DOWN SHIFT push_backward
  105. THIRD_PERSON PAD_PGUP NONE jump
  106. THIRD_PERSON PAD_PGDN NONE push_down
  107. THIRD_PERSON PAD_PGUP SHIFT jump
  108. THIRD_PERSON PAD_PGDN SHIFT push_down
  109. THIRD_PERSON PAD_HOME NONE toggle_fly
  110. THIRD_PERSON PAD_HOME SHIFT toggle_fly
  111. THIRD_PERSON PAD_CENTER NONE stop_moving
  112. THIRD_PERSON PAD_CENTER SHIFT stop_moving
  113. THIRD_PERSON PAD_ENTER NONE start_chat
  114. THIRD_PERSON PAD_ENTER SHIFT start_chat
  115. THIRD_PERSON PAD_DIVIDE NONE start_gesture
  116. THIRD_PERSON PAD_DIVIDE SHIFT start_gesture
  117. # Camera controls in third person on Alt
  118. THIRD_PERSON LEFT ALT spin_around_cw
  119. THIRD_PERSON RIGHT ALT spin_around_ccw
  120. THIRD_PERSON UP ALT move_forward
  121. THIRD_PERSON DOWN ALT move_backward
  122. THIRD_PERSON PGUP ALT spin_over
  123. THIRD_PERSON PGDN ALT spin_under
  124. THIRD_PERSON A ALT spin_around_cw
  125. THIRD_PERSON D ALT spin_around_ccw
  126. THIRD_PERSON W ALT move_forward
  127. THIRD_PERSON S ALT move_backward
  128. THIRD_PERSON E ALT spin_over
  129. THIRD_PERSON C ALT spin_under
  130. THIRD_PERSON PAD_LEFT ALT spin_around_cw
  131. THIRD_PERSON PAD_RIGHT ALT spin_around_ccw
  132. THIRD_PERSON PAD_UP ALT move_forward
  133. THIRD_PERSON PAD_DOWN ALT move_backward
  134. THIRD_PERSON PAD_PGUP ALT spin_over
  135. THIRD_PERSON PAD_PGDN ALT spin_under
  136. THIRD_PERSON PAD_ENTER ALT start_chat
  137. THIRD_PERSON PAD_DIVIDE ALT start_gesture
  138. # mimic alt zoom behavior with keyboard only
  139. THIRD_PERSON A CTL_ALT spin_around_cw
  140. THIRD_PERSON D CTL_ALT spin_around_ccw
  141. THIRD_PERSON W CTL_ALT spin_over
  142. THIRD_PERSON S CTL_ALT spin_under
  143. THIRD_PERSON E CTL_ALT spin_over
  144. THIRD_PERSON C CTL_ALT spin_under
  145. THIRD_PERSON LEFT CTL_ALT spin_around_cw
  146. THIRD_PERSON RIGHT CTL_ALT spin_around_ccw
  147. THIRD_PERSON UP CTL_ALT spin_over
  148. THIRD_PERSON DOWN CTL_ALT spin_under
  149. THIRD_PERSON PGUP CTL_ALT spin_over
  150. THIRD_PERSON PGDN CTL_ALT spin_under
  151. THIRD_PERSON PAD_LEFT CTL_ALT spin_around_cw
  152. THIRD_PERSON PAD_RIGHT CTL_ALT spin_around_ccw
  153. THIRD_PERSON PAD_UP CTL_ALT spin_over
  154. THIRD_PERSON PAD_DOWN CTL_ALT spin_under
  155. THIRD_PERSON PAD_PGUP CTL_ALT spin_over
  156. THIRD_PERSON PAD_PGDN CTL_ALT spin_under
  157. THIRD_PERSON PAD_ENTER CTL_ALT start_chat
  158. THIRD_PERSON PAD_DIVIDE CTL_ALT start_gesture
  159. # Therefore pan on Alt-Shift
  160. THIRD_PERSON A CTL_ALT_SHIFT pan_left
  161. THIRD_PERSON D CTL_ALT_SHIFT pan_right
  162. THIRD_PERSON W CTL_ALT_SHIFT pan_up
  163. THIRD_PERSON S CTL_ALT_SHIFT pan_down
  164. THIRD_PERSON LEFT CTL_ALT_SHIFT pan_left
  165. THIRD_PERSON RIGHT CTL_ALT_SHIFT pan_right
  166. THIRD_PERSON UP CTL_ALT_SHIFT pan_up
  167. THIRD_PERSON DOWN CTL_ALT_SHIFT pan_down
  168. THIRD_PERSON PAD_LEFT CTL_ALT_SHIFT pan_left
  169. THIRD_PERSON PAD_RIGHT CTL_ALT_SHIFT pan_right
  170. THIRD_PERSON PAD_UP CTL_ALT_SHIFT pan_up
  171. THIRD_PERSON PAD_DOWN CTL_ALT_SHIFT pan_down
  172. THIRD_PERSON PAD_ENTER CTL_ALT_SHIFT start_chat
  173. THIRD_PERSON PAD_DIVIDE CTL_ALT_SHIFT start_gesture
  174. # Basic editing camera control
  175. EDIT A NONE spin_around_cw
  176. EDIT D NONE spin_around_ccw
  177. EDIT W NONE move_forward
  178. EDIT S NONE move_backward
  179. EDIT E NONE spin_over
  180. EDIT C NONE spin_under
  181. EDIT ENTER NONE start_chat
  182. EDIT DIVIDE NONE start_gesture
  183. EDIT PAD_ENTER NONE start_chat
  184. EDIT PAD_DIVIDE NONE start_gesture
  185. EDIT LEFT NONE spin_around_cw
  186. EDIT RIGHT NONE spin_around_ccw
  187. EDIT UP NONE move_forward
  188. EDIT DOWN NONE move_backward
  189. EDIT PGUP NONE spin_over
  190. EDIT PGDN NONE spin_under
  191. EDIT A SHIFT pan_left
  192. EDIT D SHIFT pan_right
  193. EDIT W SHIFT pan_up
  194. EDIT S SHIFT pan_down
  195. EDIT LEFT SHIFT pan_left
  196. EDIT RIGHT SHIFT pan_right
  197. EDIT UP SHIFT pan_up
  198. EDIT DOWN SHIFT pan_down
  199. # Walking works with ALT held down.
  200. EDIT A ALT slide_left
  201. EDIT D ALT slide_right
  202. EDIT W ALT push_forward
  203. EDIT S ALT push_backward
  204. EDIT E ALT jump
  205. EDIT C ALT push_down
  206. EDIT LEFT ALT slide_left
  207. EDIT RIGHT ALT slide_right
  208. EDIT UP ALT push_forward
  209. EDIT DOWN ALT push_backward
  210. EDIT PGUP ALT jump
  211. EDIT PGDN ALT push_down
  212. EDIT HOME ALT toggle_fly
  213. EDIT PAD_LEFT ALT slide_left
  214. EDIT PAD_RIGHT ALT slide_right
  215. EDIT PAD_UP ALT push_forward
  216. EDIT PAD_DOWN ALT push_backward
  217. EDIT PAD_PGUP ALT jump
  218. EDIT PAD_PGDN ALT push_down
  219. EDIT PAD_ENTER ALT start_chat
  220. EDIT PAD_DIVIDE ALT start_gesture
  221. SITTING A ALT spin_around_cw
  222. SITTING D ALT spin_around_ccw
  223. SITTING W ALT move_forward
  224. SITTING S ALT move_backward
  225. SITTING E ALT spin_over_sitting
  226. SITTING C ALT spin_under_sitting
  227. SITTING LEFT ALT spin_around_cw
  228. SITTING RIGHT ALT spin_around_ccw
  229. SITTING UP ALT move_forward
  230. SITTING DOWN ALT move_backward
  231. SITTING PGUP ALT spin_over
  232. SITTING PGDN ALT spin_under
  233. SITTING A CTL_ALT spin_around_cw
  234. SITTING  D CTL_ALT spin_around_ccw
  235. SITTING W CTL_ALT spin_over
  236. SITTING S CTL_ALT spin_under
  237. SITTING  E CTL_ALT spin_over
  238. SITTING C CTL_ALT spin_under
  239. SITTING LEFT CTL_ALT spin_around_cw
  240. SITTING RIGHT CTL_ALT spin_around_ccw
  241. SITTING UP CTL_ALT spin_over
  242. SITTING DOWN CTL_ALT spin_under
  243. SITTING PGUP CTL_ALT spin_over
  244. SITTING PGDN CTL_ALT spin_under
  245. SITTING A NONE spin_around_cw_sitting
  246. SITTING D NONE spin_around_ccw_sitting
  247. SITTING W NONE move_forward_sitting
  248. SITTING S NONE move_backward_sitting
  249. SITTING E NONE spin_over_sitting
  250. SITTING C NONE spin_under_sitting
  251. SITTING LEFT NONE spin_around_cw_sitting
  252. SITTING RIGHT NONE spin_around_ccw_sitting
  253. SITTING UP NONE move_forward_sitting
  254. SITTING DOWN NONE move_backward_sitting
  255. SITTING PGUP NONE spin_over_sitting
  256. SITTING PGDN NONE spin_under_sitting
  257. SITTING PAD_LEFT NONE spin_around_cw_sitting
  258. SITTING PAD_RIGHT NONE spin_around_ccw_sitting
  259. SITTING PAD_UP NONE move_forward_sitting
  260. SITTING PAD_DOWN NONE move_backward_sitting
  261. SITTING PAD_PGUP NONE spin_over_sitting
  262. SITTING PAD_PGDN NONE spin_under_sitting
  263. SITTING PAD_CENTER NONE stop_moving
  264. SITTING PAD_ENTER NONE start_chat
  265. SITTING PAD_DIVIDE NONE start_gesture
  266. # these are for passing controls when sitting on vehicles
  267. SITTING A SHIFT slide_left
  268. SITTING D SHIFT slide_right
  269. SITTING LEFT SHIFT slide_left
  270. SITTING RIGHT SHIFT slide_right
  271. SITTING PAD_LEFT SHIFT slide_left
  272. SITTING PAD_RIGHT SHIFT slide_right
  273. SITTING PAD_ENTER SHIFT start_chat
  274. SITTING PAD_DIVIDE SHIFT start_gesture
  275. # pan on Alt-Shift
  276. SITTING A CTL_ALT_SHIFT pan_left
  277. SITTING D CTL_ALT_SHIFT pan_right
  278. SITTING W CTL_ALT_SHIFT pan_up
  279. SITTING S CTL_ALT_SHIFT pan_down
  280. SITTING LEFT CTL_ALT_SHIFT pan_left
  281. SITTING RIGHT CTL_ALT_SHIFT pan_right
  282. SITTING UP CTL_ALT_SHIFT pan_up
  283. SITTING DOWN CTL_ALT_SHIFT pan_down
  284. SITTING PAD_LEFT CTL_ALT_SHIFT pan_left
  285. SITTING PAD_RIGHT CTL_ALT_SHIFT pan_right
  286. SITTING PAD_UP CTL_ALT_SHIFT pan_up
  287. SITTING PAD_DOWN CTL_ALT_SHIFT pan_down
  288. SITTING PAD_ENTER CTL_ALT_SHIFT start_chat
  289. SITTING PAD_DIVIDE CTL_ALT_SHIFT start_gesture
  290. SITTING ENTER NONE start_chat
  291. SITTING DIVIDE NONE start_gesture
  292. # Avatar editing camera controls
  293. EDIT_AVATAR A NONE edit_avatar_spin_cw
  294. EDIT_AVATAR D NONE edit_avatar_spin_ccw
  295. EDIT_AVATAR W NONE edit_avatar_move_forward
  296. EDIT_AVATAR S NONE edit_avatar_move_backward
  297. EDIT_AVATAR E NONE edit_avatar_spin_over
  298. EDIT_AVATAR C NONE edit_avatar_spin_under
  299. EDIT_AVATAR LEFT NONE edit_avatar_spin_cw
  300. EDIT_AVATAR RIGHT NONE edit_avatar_spin_ccw
  301. EDIT_AVATAR UP NONE edit_avatar_move_forward
  302. EDIT_AVATAR DOWN NONE edit_avatar_move_backward
  303. EDIT_AVATAR PGUP NONE edit_avatar_spin_over
  304. EDIT_AVATAR PGDN NONE edit_avatar_spin_under
  305. EDIT_AVATAR ENTER NONE start_chat
  306. EDIT_AVATAR DIVIDE NONE start_gesture
  307. EDIT_AVATAR PAD_LEFT NONE edit_avatar_spin_cw
  308. EDIT_AVATAR PAD_RIGHT NONE edit_avatar_spin_ccw
  309. EDIT_AVATAR PAD_UP NONE edit_avatar_move_forward
  310. EDIT_AVATAR PAD_DOWN NONE edit_avatar_move_backward
  311. EDIT_AVATAR PAD_PGUP NONE edit_avatar_spin_over
  312. EDIT_AVATAR PAD_PGDN NONE edit_avatar_spin_under
  313. EDIT_AVATAR PAD_ENTER NONE start_chat
  314. EDIT_AVATAR PAD_DIVIDE NONE start_gesture