Crossfire Client, Branch  R11627
def-keys.h
Go to the documentation of this file.
00001 const char *const def_keys[] = {
00002 "#\n",
00003 "# Default keys\n",
00004 "#\n",
00005 "# <keysym> <keynro> <flags> <string>\n",
00006 "#\n",
00007 "# <keynro> will typically be the keycode for that key.  While\n",
00008 "# keysyms are defined to work across different servers, keycodes are\n",
00009 "# server/machine specific. Keycodes are only needed because some keyboards\n",
00010 "# (sun's type 5 for one) have keys with no corresponding keysym.\n",
00011 "# When loading, all keysyms are converted to keycodes for matching.\n",
00012 "#\n",
00013 "# flags:\n",
00014 "#   N - Normal mode\n",
00015 "#   F - Fire mode\n",
00016 "#   R - Run mode\n",
00017 "#   A - All modes\n",
00018 "#   E - Leave in line edit mode\n",
00019 "#\n",
00020 "#quotedbl 1 AE  \n",
00021 "quotedbl 1 AE say \n",
00022 "period 1 N stay fire\n",
00023 "# nethack keys\n",
00024 "h 1 A west\n",
00025 "j 1 A south\n",
00026 "k 1 A north\n",
00027 "l 1 A east\n",
00028 "y 1 A northwest\n",
00029 "u 1 A northeast\n",
00030 "b 1 A southwest\n",
00031 "n 1 A southeast\n",
00032 "H 1 A west\n",
00033 "J 1 A south\n",
00034 "K 1 A north\n",
00035 "L 1 A east\n",
00036 "Y 1 A northwest\n",
00037 "U 1 A northeast\n",
00038 "B 1 A southwest\n",
00039 "N 1 A southeast\n",
00040 "# default cursorkeys\n",
00041 "Up 1 A north\n",
00042 "Down 1 A south\n",
00043 "Left 1 A west\n",
00044 "Right 1 A east\n",
00045 "# numpad\n",
00046 "Up 76 A north\n",
00047 "Down 120 A south\n",
00048 "Left 98 A west\n",
00049 "Right 100 A east\n",
00050 "KP_8 1 A north\n",
00051 "KP_2 1 A south\n",
00052 "KP_4 1 A west\n",
00053 "KP_6 1 A east\n",
00054 "KP_7 1 A northwest\n",
00055 "KP_9 1 A northeast\n",
00056 "KP_5 1 A stay\n",
00057 "KP_1 1 A southwest\n",
00058 "KP_3 1 A southeast\n",
00059 "# Sun type 4 keyboards will often have different key names.\n",
00060 "KP_Up 1 A north\n",
00061 "KP_Down 1 A south\n",
00062 "KP_Right 1 A east\n",
00063 "KP_Left 1 A west\n",
00064 "KP_Home 1 A northwest\n",
00065 "KP_Prior 1 A northeast\n",
00066 "#Unfortunately, there is no name for the middle key.\n",
00067 "#KP_5 1 A stay\n",
00068 "KP_End 1 A southwest\n",
00069 "KP_Next 1 A southeast\n",
00070 "F28 1 A north\n",
00071 "F34 1 A south\n",
00072 "F30 1 A west\n",
00073 "F32 1 A east\n",
00074 "F27 1 A northwest\n",
00075 "F29 1 A northeast\n",
00076 "F31 1 A stay\n",
00077 "F33 1 A southwest\n",
00078 "F35 1 A southeast\n",
00079 "#\n",
00080 "a 1 N apply\n",
00081 "A 1 N apply inventory\n",
00082 "a 1 RF apply\n",
00083 "A 1 RF apply\n",
00084 "d 1 N disarm\n",
00085 "e 1 N examine inventory\n",
00086 "E 1 N examine inventory\n",
00087 "e 1 RF examine\n",
00088 "E 1 RF examine\n",
00089 "s 1 A search\n",
00090 "S 1 A brace\n",
00091 "t 1 A ready_skill throw\n",
00092 "x 1 NF show\n",
00093 "comma 1 A take\n",
00094 "Tab 1 N rotatespells 1\n",
00095 "Tab 1 FR rotatespells -1\n",
00096 "question 1 A help\n",
00097 "KP_Add 1 A rotateshoottype\n",
00098 "KP_Subtract 1 A rotateshoottype -\n",
00099 "minus 1 N rotateshoottype -1\n",
00100 "plus 1 NF rotateshoottype\n",
00101 "at 1 A pickup\n",
00102 };