Instructions for key command assignments
Key commands are specified in an arbitrarily named text file. Path (including file name) to this file is specified in panel.cfg as fifth parameter to "AS532AFCP!AFCP" entry.
gauge00=AS532AFCP!AFCP, 1,130,300,131, AFCP/afcp.cfg
Path can be either absolute or relative to Flight Simulator main directory. Key commands are detected by the AFCP gauge; thus they only work after the AFCP gauge has been initialized i.e. displayed for the first time.
Each line in the configuration file must consist of a function name and three or four numbers separated by spaces or tabs. Function name is selected from the list below. Note that function names are case sensitive. The two numbers following the function name indicate use of modifier keys Control and Shift. 128 indicates that the corresponding modifier key is pressed and 0 indicates that the key is not pressed. The third number specifies the actual command key according to the list below.
The optional fourth number specifies whether the key command is repeatable i.e. the corresponding function is executed repeatedly as long as the keys are pressed. If the fourth number does not exist or is zero the corresponding function is not repeatable. Any nonzero value makes the function repeatable. The actual value of the number specifies a delay between consecutive repeats of the corresponding function in 1/18 second increments. For example, value of 3 specifies a 3/18 second delay, resulting in six repeats of the function per second. It should be noted that these key assignments do not replace or override those made for the Flight Simulator. For example, if an assignment is made to 'g' key while the default assignment in Flight Simulator ('g' for 'gear up/down') is not changed, pressing 'g' will trigger both functions: landing gear will be operated and the function specified in the autopilot configuration will be executed.
Function names
STAB ALT ALTA ALTA_DECREASE ALTA_INCREASE HDG HDG_LEFT HDG_RIGHT IAS VS VS_DECREASE VS_INCREASE CRHT CRHT_DOWN CRHT_UP TDN HOV HOV_DOWN HOV_UP NAV APP GS TRIM_UP TRIM_RIGHT TRIM_DOWN TRIM_LEFT IAS_INCREASE IAS_DECREASE ALT_INCREASE ALT_DECREASE ALT_VS_INCREASE ALT_VS_DECREASE GO_AROUND FD_DISENGAGE TRIM_CENTER
Numeric codes for keys
ESCAPE 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 0 11 MINUS 12 EQUALS 13 BACK 14 TAB 15 Q 16 W 17 E 18 R 19 T 20 Y 21 U 22 I 23 O 24 P 25 LBRACKET 26 RBRACKET 27 RETURN 28 LCONTROL 29 A 30 S 31 D 32 F 33 G 34 H 35 J 36 K 37 L 38 SEMICOLON 39 APOSTROPHE 40 GRAVE 41 LSHIFT 42 BACKSLASH 43 Z 44 X 45 C 46 V 47 B 48 N 49 M 50 COMMA 51 PERIOD 52 SLASH 53 RSHIFT 54 MULTIPLY 55 LMENU 56 SPACE 57 CAPITAL 58 F1 59 F2 60 F3 61 F4 62 F5 63 F6 64 F7 65 F8 66 F9 67 F10 68 NUMLOCK 69 SCROLL 70 NUMPAD7 71 NUMPAD8 72 NUMPAD9 73 SUBTRACT 74 NUMPAD4 75 NUMPAD5 76 NUMPAD6 77 ADD 78 NUMPAD1 79 NUMPAD2 80 NUMPAD3 81 NUMPAD0 82 DECIMAL 83 OEM_102 86 F11 87 F12 88 F13 100 F14 101 F15 102 KANA 112 ABNT_C1 115 CONVERT 121 NOCONVERT 123 YEN 125 ABNT_C2 126 NUMPADEQUALS 141 PREVTRACK 144 AT 145 COLON 146 UNDERLINE 147 KANJI 148 STOP 149 AX 150 UNLABELED 151 NEXTTRACK 153 NUMPADENTER 156 RCONTROL 157 MUTE 160 CALCULATOR 161 PLAYPAUSE 162 MEDIASTOP 164 VOLUMEDOWN 174 VOLUMEUP 176 WEBHOME 178 NUMPADCOMMA 179 DIVIDE 181 SYSRQ 183 RMENU 184 PAUSE 197 HOME 199 UP 200 PRIOR 201 LEFT 203 RIGHT 205 END 207 DOWN 208 NEXT 209 INSERT 210 DELETE 211
Have fun finding some good key commands. One solution which should not conflict with any other FS key command is set within the AFCP.CFG
|