Crossfire Client, Branches  R11627
def-keys.h
Go to the documentation of this file.
1 const char *const def_keys[] = {
2 "#\n",
3 "# Default keys\n",
4 "#\n",
5 "# <keysym> <keynro> <flags> <string>\n",
6 "#\n",
7 "# <keynro> will typically be the keycode for that key. While\n",
8 "# keysyms are defined to work across different servers, keycodes are\n",
9 "# server/machine specific. Keycodes are only needed because some keyboards\n",
10 "# (sun's type 5 for one) have keys with no corresponding keysym.\n",
11 "# When loading, all keysyms are converted to keycodes for matching.\n",
12 "#\n",
13 "# flags:\n",
14 "# N - Normal mode\n",
15 "# F - Fire mode\n",
16 "# R - Run mode\n",
17 "# A - All modes\n",
18 "# E - Leave in line edit mode\n",
19 "#\n",
20 "#quotedbl 1 AE \n",
21 "quotedbl 1 AE say \n",
22 "period 1 N stay fire\n",
23 "# nethack keys\n",
24 "h 1 A west\n",
25 "j 1 A south\n",
26 "k 1 A north\n",
27 "l 1 A east\n",
28 "y 1 A northwest\n",
29 "u 1 A northeast\n",
30 "b 1 A southwest\n",
31 "n 1 A southeast\n",
32 "H 1 A west\n",
33 "J 1 A south\n",
34 "K 1 A north\n",
35 "L 1 A east\n",
36 "Y 1 A northwest\n",
37 "U 1 A northeast\n",
38 "B 1 A southwest\n",
39 "N 1 A southeast\n",
40 "# default cursorkeys\n",
41 "Up 1 A north\n",
42 "Down 1 A south\n",
43 "Left 1 A west\n",
44 "Right 1 A east\n",
45 "# numpad\n",
46 "Up 76 A north\n",
47 "Down 120 A south\n",
48 "Left 98 A west\n",
49 "Right 100 A east\n",
50 "KP_8 1 A north\n",
51 "KP_2 1 A south\n",
52 "KP_4 1 A west\n",
53 "KP_6 1 A east\n",
54 "KP_7 1 A northwest\n",
55 "KP_9 1 A northeast\n",
56 "KP_5 1 A stay\n",
57 "KP_1 1 A southwest\n",
58 "KP_3 1 A southeast\n",
59 "# Sun type 4 keyboards will often have different key names.\n",
60 "KP_Up 1 A north\n",
61 "KP_Down 1 A south\n",
62 "KP_Right 1 A east\n",
63 "KP_Left 1 A west\n",
64 "KP_Home 1 A northwest\n",
65 "KP_Prior 1 A northeast\n",
66 "#Unfortunately, there is no name for the middle key.\n",
67 "#KP_5 1 A stay\n",
68 "KP_End 1 A southwest\n",
69 "KP_Next 1 A southeast\n",
70 "F28 1 A north\n",
71 "F34 1 A south\n",
72 "F30 1 A west\n",
73 "F32 1 A east\n",
74 "F27 1 A northwest\n",
75 "F29 1 A northeast\n",
76 "F31 1 A stay\n",
77 "F33 1 A southwest\n",
78 "F35 1 A southeast\n",
79 "#\n",
80 "a 1 N apply\n",
81 "A 1 N apply inventory\n",
82 "a 1 RF apply\n",
83 "A 1 RF apply\n",
84 "d 1 N disarm\n",
85 "e 1 N examine inventory\n",
86 "E 1 N examine inventory\n",
87 "e 1 RF examine\n",
88 "E 1 RF examine\n",
89 "s 1 A search\n",
90 "S 1 A brace\n",
91 "t 1 A ready_skill throw\n",
92 "x 1 NF show\n",
93 "comma 1 A take\n",
94 "Tab 1 N rotatespells 1\n",
95 "Tab 1 FR rotatespells -1\n",
96 "question 1 A help\n",
97 "KP_Add 1 A rotateshoottype\n",
98 "KP_Subtract 1 A rotateshoottype -\n",
99 "minus 1 N rotateshoottype -1\n",
100 "plus 1 NF rotateshoottype\n",
101 "at 1 A pickup\n",
102 };
const char *const def_keys[]
Definition: def-keys.h:1