1 <!-- ***************************
3 <!-- Ingame keyboard assignation
5 <!-- ***************************
9 <!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
10 <define id="key_def_no_replace" value="1" />
11 <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
12 <define id="key_def_force_display" value="1" />
16 <key name="KeyUP" action="forward" />
17 <key name="KeyDOWN" action="backward" />
18 <key name="KeyLEFT" action="turn_left" />
19 <key name="KeyRIGHT" action="turn_right" />
20 <key name="KeyLEFT" ctrl="1" action="strafe_left" />
21 <key name="KeyRIGHT" ctrl="1" action="strafe_right" />
22 <key name="KeyPRIOR" action="look_up" />
23 <key name="KeyNEXT" action="look_down" />
24 <key name="KeyEND" action="toggle_auto_walk" />
25 <key name="KeyINSERT" action="toggle_sit_stand" />
27 <key name="KeyDELETE" action="toggle_run_walk" />
29 <key name="KeyPRIOR" ctrl="1" action="camera_up" />
30 <key name="KeyNEXT" ctrl="1" action="camera_down" />
33 <key name="KeyV" action="toggle_camera" />
34 <key name="KeyNUMPAD0" action="rear_view" />
35 <key name="KeyNUMPAD1" action="camera_turn_left" />
36 <key name="KeyNUMPAD2" action="camera_turn_right" />
37 <key name="KeyDECIMAL" action="camera_turn_center" />
39 <key name="KeyF5" shift="1" action="toggle_chat" />
41 <key name="KeyF10" shift="1" action="screen_shot" />
42 <key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
43 <key name="KeyF10" menu="1" action="screen_shot_png"/>
44 <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
45 <key name="KeyF11" shift="1" action="test" />
46 <key name="KeyL" ctrl="0" action="toggle_light" />
47 <key name="KeyF9" shift="1" action="free_mouse" />
49 <key name="KeyR" shift="0" action="reply_teller_once" />
50 <key name="KeyR" ctrl="1" action="reply_teller" />
52 <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
55 <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
56 <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
57 <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
60 <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
61 <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
62 <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
65 <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
66 <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
67 <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
68 <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
69 <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
70 <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
71 <key name="KeyF1" shift="1" action="toggle_help" />
72 <key name="KeyF2" shift="1" action="display_infos" />
73 <key name="KeyF3" shift="1" action="render_mode" />
74 <key name="KeyF4" shift="1" action="toggle_render" />
75 <key name="KeyF6" shift="1" action="switch_console_display" />
76 <key name="KeyF7" shift="1" action="change_compass_mode" />
77 <key name="KeyF8" shift="1" action="toggle_fly" />
78 <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
79 <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
80 <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
81 <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
82 <key name="KeyF2" ctrl="1" action="profile" />
83 <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
84 <key name="KeyF2" menu="1" action="profile_texture" />
85 <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
86 <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
87 <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
88 <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
89 <key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
90 <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
91 <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
92 <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
93 <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
94 <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
95 <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
96 <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
97 <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
98 <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
99 <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
102 <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
103 <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
104 <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
105 <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
106 <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
107 <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
108 <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
109 <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
110 <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
111 <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
112 <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
113 <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
114 <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
115 <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
116 <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
119 <key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
120 <key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
121 <key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
125 <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
126 <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
127 <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
130 <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
131 <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
132 <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
133 <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
134 <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
135 <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
136 <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
137 <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
138 <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
139 <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
140 <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
141 <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
142 <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
143 <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
144 <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
145 <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
146 <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
147 <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
148 <key name="KeyDELETE" action="edit_delete_char" context="edit" />
149 <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
150 <!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
151 <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
152 <!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
153 <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
154 <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
155 <!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
158 <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
159 <key name="KeyTAB" action="cycle_tell" />
160 <key name="KeyBACK" action="edit_back" context="edit" />
163 <key name="KeyESCAPE" shift="1" action="close_help" />
169 <key name="KeyC" action="show_hide" params="compass" />
170 <key name="KeyR" action="show_hide" params="radar" />
173 <key name="KeyCOMMA" action="show_hide" params="map" />
179 <key name="KeyT" action="show_hide" params="target" />
180 <key name="KeyF" action="show_hide" params="contact_list" />
181 <key name="KeyY" action="show_hide" params="team_list" />
183 <key name="KeyX" action="show_hide" params="main_chat" />
185 <key name="KeyW" action="show_hide" params="system_info" />
187 <!-- TO DO : to be defined by patrick
188 <key name="" shift="0" action="show_hide" params="guild_chat" />
189 <key name="" shift="0" action="show_hide" params="team_chat" />
190 <key name="" shift="0" action="show_hide" params="tell" />
191 <key name="" shift="0" action="show_hide" params="around_me" />-->
192 <key name="KeyF5" action="talk_untalk" />
193 <key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
196 <key name="KeyK" shift="0" action="show_hide" params="keys" />
198 <key name="KeyK" shift="1" action="show_hide" params="macros" />
200 <key name="KeyU" shift="0" action="show_hide" params="game_config" />
202 <key name="KeyN" shift="0" action="show_hide" params="connection" />
205 <!-- r2ed windows -->
207 <key name="KeyS" action="show_hide" params="r2ed_scenario" />
208 <key name="KeyP" action="show_hide" params="r2ed_palette" />
210 <!-- r2ed contextual commands -->
211 <key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
212 <key name="KeyG" action="r2ed_context_command" params="commandId=group" />
213 <key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
214 <key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
215 <key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
216 <key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
219 <key name="KeyF8" action="r2ed_try_go_test"/>
220 <key name="KeyM" action="r2ed_select_move" />
221 <key name="KeyR" action="r2ed_select_rotate" />
222 <key name="KeyT" action="r2ed_teleport" />
223 <key name="KeyESCAPE" action="r2ed_cancel_tool"/>
224 <key name="KeyZ" ctrl="1" action="r2ed_undo" />
225 <key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
226 <key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
230 <!-- reset to default -->
231 <define id="key_def_no_replace" value="0" />
232 <define id="key_def_force_display" value="0" />