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