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" />
40 <key name="N/A" action="toggle_free_look" />
42 <key name="KeyF10" shift="1" action="screen_shot" />
43 <key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
44 <key name="KeyF10" menu="1" action="screen_shot_png"/>
45 <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
46 <key name="KeyF11" shift="1" action="test" />
47 <key name="KeyL" ctrl="0" action="toggle_light" />
48 <key name="KeyF9" shift="1" action="free_mouse" />
50 <key name="KeyR" shift="0" action="reply_teller_once" />
51 <key name="KeyR" ctrl="1" action="reply_teller" />
53 <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
56 <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
57 <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
58 <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
61 <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
62 <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
63 <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
66 <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
67 <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
68 <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
69 <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
70 <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
71 <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" />
72 <key name="KeyF1" shift="1" action="toggle_help" />
73 <key name="KeyF2" shift="1" action="display_infos" />
74 <key name="KeyF3" shift="1" action="render_mode" />
75 <key name="KeyF4" shift="1" action="toggle_render" />
76 <key name="KeyF6" shift="1" action="switch_console_display" />
77 <key name="KeyF7" shift="1" action="change_compass_mode" />
78 <key name="KeyF8" shift="1" action="toggle_fly" />
79 <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
80 <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
81 <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
82 <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
83 <key name="KeyF2" ctrl="1" action="profile" />
84 <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
85 <key name="KeyF2" menu="1" action="profile_texture" />
86 <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
87 <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
88 <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
89 <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
90 <key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
91 <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
92 <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
93 <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
94 <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
95 <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
96 <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
97 <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
98 <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
99 <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
100 <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
103 <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
104 <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
105 <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
106 <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
107 <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
108 <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
109 <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
110 <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
111 <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
112 <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
113 <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
114 <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
115 <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
116 <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
117 <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
120 <key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
121 <key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
122 <key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
126 <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
127 <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
128 <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
131 <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
132 <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
133 <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
134 <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
135 <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
136 <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
137 <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
138 <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
139 <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
140 <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
141 <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
142 <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
143 <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
144 <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
145 <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
146 <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
147 <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
148 <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
149 <key name="KeyDELETE" action="edit_delete_char" context="edit" />
150 <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
151 <!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
152 <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
153 <!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
154 <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
155 <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
156 <!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
159 <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
160 <key name="KeyTAB" action="cycle_tell" />
161 <key name="KeyBACK" action="edit_back" context="edit" />
164 <key name="KeyESCAPE" shift="1" action="close_help" />
170 <key name="KeyC" action="show_hide" params="compass" />
171 <key name="KeyR" action="show_hide" params="radar" />
174 <key name="KeyCOMMA" action="show_hide" params="map" />
180 <key name="KeyT" action="show_hide" params="target" />
181 <key name="KeyF" action="show_hide" params="contact_list" />
182 <key name="KeyY" action="show_hide" params="team_list" />
184 <key name="KeyX" action="show_hide" params="main_chat" />
186 <key name="KeyW" action="show_hide" params="system_info" />
188 <!-- TO DO : to be defined by patrick
189 <key name="" shift="0" action="show_hide" params="guild_chat" />
190 <key name="" shift="0" action="show_hide" params="team_chat" />
191 <key name="" shift="0" action="show_hide" params="tell" />
192 <key name="" shift="0" action="show_hide" params="around_me" />-->
193 <key name="KeyF5" action="talk_untalk" />
194 <key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
197 <key name="KeyK" shift="0" action="show_hide" params="keys" />
199 <key name="KeyK" shift="1" action="show_hide" params="macros" />
201 <key name="KeyU" shift="0" action="show_hide" params="game_config" />
203 <key name="KeyN" shift="0" action="show_hide" params="connection" />
206 <!-- r2ed windows -->
208 <key name="KeyS" action="show_hide" params="r2ed_scenario" />
209 <key name="KeyP" action="show_hide" params="r2ed_palette" />
211 <!-- r2ed contextual commands -->
212 <key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
213 <key name="KeyG" action="r2ed_context_command" params="commandId=group" />
214 <key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
215 <key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
216 <key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
217 <key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
220 <key name="KeyF8" action="r2ed_try_go_test"/>
221 <key name="KeyM" action="r2ed_select_move" />
222 <key name="KeyR" action="r2ed_select_rotate" />
223 <key name="KeyT" action="r2ed_teleport" />
224 <key name="KeyESCAPE" action="r2ed_cancel_tool"/>
225 <key name="KeyZ" ctrl="1" action="r2ed_undo" />
226 <key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
227 <key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
231 <!-- reset to default -->
232 <define id="key_def_no_replace" value="0" />
233 <define id="key_def_force_display" value="0" />