//==================================================================== // Analogue Axis setup (this applies to Joysticks 0 - 3. All other Axis // are "soft axis" (Vitual axis) // // Windows Axis Analogue Channel Real/Virtual Normal usage // ------------ ---------------- ------------ ------------ // X 0 Real Aileron // Y 1 Real Elevator // R 2 Real Rudder // Z 3 Real Throttle // U 4 Virtual (Soft Axis) free // V 6 Virtual (Soft Axis) free //==================================================================== //===================================================================== // Connectors //===================================================================== //-------------------------------------------------------------------------- // First expansion module -> Analogs 0 - 15 // Buttons 0 - 355 // Analogs 0,1,2,3 are duplicates of the base card analogs // buttons-> button(,,); // buttons 0 to 47 are the same as defined in the connector(xxxx) definitions // and can be referenced via both connectors. //-------------------------------------------------------------------------- connector(ModuleZero) { analog(0); analog(1); analog(2); analog(3); analog(4); analog(5); analog(6); analog(7); analog(8); analog(9); analog(10); analog(11); analog(12); analog(13); analog(14); analog(15); modrow(0,0); // A db15 connector, rel. modrow 0, buttons 0 - 7 modrow(0,1); // B db15 connector, rel. modrow 1, buttons 8 - 15 modrow(0,2); // RUDDER db15 connector, rel. modrow 2, buttons 16 - 23 modrow(0,3); // modrow 3 does not exist, but is defined here anyway to keep from getting confused with relative row numbers modrow(0,4); // FLCS, rel. modrow 4, buttons 24 - 31 modrow(0,5); // FLCS, rel. modrow 5, buttons 32 - 39 modrow(0,6); // FLCS, rel. modrow 6, buttons 40 - 47 }; connector(ModuleOne) { analog(0); analog(1); analog(2); analog(3); analog(4); analog(5); analog(6); analog(7); analog(8); analog(9); analog(10); analog(11); analog(12); analog(13); analog(14); analog(15); modrow(1,0); // rel. ModRow 0 modrow(1,1); // rel. ModRow 1 modrow(1,2); // rel. ModRow 2 modrow(1,3); // rel. ModRow 3 modrow(1,4); // rel. ModRow 4 modrow(1,5); // rel. ModRow 5 modrow(1,6); // rel. ModRow 6 modrow(1,7); // rel. ModRow 7 modrow(1,8); // rel. ModRow 8 modrow(1,9); // rel. ModRow 9 modrow(1,10); // rel. ModRow 10 modrow(1,11); // rel. ModRow 11 modrow(1,12); // rel. ModRow 12 modrow(1,13); // rel. ModRow 13 modrow(1,14); // rel. ModRow 14 modrow(1,15); // rel. ModRow 15 }; connector(ModuleTwo) { modrow(2,0); // rel. ModRow 0 modrow(2,1); // rel. ModRow 1 modrow(2,2); // rel. ModRow 2 modrow(2,3); // rel. ModRow 3 modrow(2,4); // rel. ModRow 4 modrow(2,5); // rel. ModRow 5 modrow(2,6); // rel. ModRow 6 modrow(2,7); // rel. ModRow 7 modrow(2,8); // rel. ModRow 8 modrow(2,9); // rel. ModRow 9 modrow(2,10); // rel. ModRow 10 modrow(2,11); // rel. ModRow 11 modrow(2,12); // rel. ModRow 12 modrow(2,13); // rel. ModRow 13 modrow(2,14); // rel. ModRow 14 modrow(2,15); // rel. ModRow 15 }; //--------------------------------------------------------------------- // Connector: Rotary (module 7) // module & analog references are relative to selected connector //--------------------------------------------------------------------- connector(Rotary) { modrow(7,0); // rel. modrow 0 modrow(7,1); // rel. modrow 1 modrow(7,2); // rel. modrow 2 modrow(7,3); // rel. modrow 3 modrow(7,4); // rel. modrow 4 }; //========================================================================== // Devices // This will show up in gaming option as devices if there are analogs, // POV's or buttons. The first one described here will be the first // in the gaming options list for the EPIC USBs // module & analog references are relative to selected connector //========================================================================== //-------------------------------------------------------------------------- // Sidestick Pilot // button (modrow, bit, name) // Joystick_00 in FS2000.CFG // Axis: // X Y Z Rx Ry Rz new in EPICINFO correspond to // X Y Z U V R old names of the axis //-------------------------------------------------------------------------- device(Joystick_00) { connector(ModuleZero); analog(0, AileronP, X); // Ailerons Pilot sidestick analog(1, ElevatorP, Y); // Elevators Pilot sidestick analog(2, AileronCP,Z); // Ailerons CoPilot sidestick analog(3, ElevatorCP,Rx); // Elevatores CoPilot sidestick // Module 0, Scanrow 0 button(0, 0, b_Brake); // Brakes (provisory) button(0, 1, b_ElevTrimUp); // Elevator trim up button(0, 2, b_ElevTrimDn); // Elevator trim down button(0, 3, b_AP_Dis); // Auto Pilot disconnect button(0, 4, b_4); button(0, 5, b_5); button(0, 6, b_6); button(0, 7, b_7); // Module 0, Scan row 1 button(1, 0, b_eng1_master); // Virtual button (Button 8) button(1, 1, b_eng2_master); // Virtual button (Button 9) button(1, 2, b_eng3_master); // Virtual button (Button 10) button(1, 3, b_eng4_master); // Virtual button (Button 11) button(1, 4, b_12); // Button 12 button(1, 5, b_13); // Button 13 button(1, 6, b_14); // Button 14 button(1, 7, b_15); // Button 15 // Module 0, Scan row 2 button(2, 0, b_VORADF1OFF_P); // Virtual button (Button 16) button(2, 1, b_VORADF2OFF_P); // Virtual button (Button 17) button(2, 2, b_VORADF1OFF_CP); // Virtual button (Button 18) button(2, 3, b_VORADF2OFF_CP); // Virtual button (Button 19) button(2, 4, b_managed_SPD); // Virtual button (Button 20) button(2, 5, b_21); // Button 21 button(2, 6, b_22); // Button 22 button(2, 7, b_23); // Button 23 // Module 0, Scan row 4 (FLCS Scan row 1) button(4, 0, b_LdgGear); // Button 24 button(4, 1, b_AutoBrakeLow); // Button 25 button(4, 2, b_AutoBrakeMed); // Button 26 button(4, 3, b_AutoBrakeMax); // Button 27 button(4, 4, b_BrakeFan); // Button 28 button(4, 5, b_Askid_NW); // Button 29 button(4, 6, b_30); // Button 30 button(4, 7, b_31); // Button 31 }; //-------------------------------------------------------------------------- // Joystick_01 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_01) { connector(ModuleZero); analog(4, Engine1_Throttle, X); // Throttle 1 analog(5, Engine2_Throttle, Y); // Throttle 2 analog(6, Engine3_Throttle, Rx); // Throttle 3 analog(7, Engine4_Throttle, Z); // Throttle 4 // Module 0, Scan row 5 (FLCS Scan row 2) button(5, 0, b_ParkBrk); // Button 32 button(5, 1, b_SpdBrkArm); // Button 33 button(5, 2, b_SpdBrkUp); // Button 34 button(5, 3, b_SpdBrk1); // Button 35 button(5, 4, b_SpdBrk2); // Button 36 button(5, 5, b_SpdBrk3); // Button 37 button(5, 6, b_SpdBrk4); // Button 38 button(5, 7, b_AT_Dis); // Button 39 // Module 0, Scan row 6 (FLCS Scan row 2) button(6, 0, b_FlapsUp); // Button 40 button(6, 1, b_Flaps1); // Button 41 button(6, 2, b_Flaps2); // Button 42 button(6, 3, b_Flaps3); // Button 43 button(6, 4, b_FlapsFull); // Button 44 button(6, 5, b_45); // Button 45 button(6, 6, b_46); // Button 46 button(6, 7, b_47); // Button 47 }; //-------------------------------------------------------------------------- // Joystick_02 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_02) { connector(ModuleOne); analog(8, Engine1_Reverser, X); // Throttle 1 analog(9, Engine2_Reverser, Y); // Throttle 2 analog(10, Engine3_Reverser, Z); // Throttle 3 analog(11, Engine4_Reverser, Rx); // Throttle 4 // Module 1, Scan row 0 button(0, 0, b_SPD_MACH); // toggle between SPD and MACH display -> Button 48 button(0, 1, b_sel_SPD); // select SELECTED or MANAGED SPD -> Button 49 button(0, 2, b_sel_HDG); // select SELECTED or MANAGED HDG -> Button 50 button(0, 3, b_LOC); // Localizer engage -> Button 51 button(0, 4, b_HDG_FPA); // toggle HDG/TRK and FPA/VS modes -> Button 52 button(0, 5, b_AP1); // AutoP 1 -> Button 53 button(0, 6, b_AP2); // AutoP 2 -> Button 54 button(0, 7, b_AT); // Auto throttle engage -> Button 55 // Module 1, Scan row 1 button(1, 0, b_sel_ALT); // select SELECTED or MANAGED ALT -> Button 56 button(1, 1, b_ALT); // Altitude hold -> Button 57 button(1, 2, b_metric_ALT); // toggle metric and feet altitude disp -> Button 58 button(1, 3, b_range_ALT); // select ALT range 10/100 -> Button 59 button(1, 4, b_sel_VS); // Level off at current altitude -> Button 60 button(1, 5, b_APP); // engage Approach mode (Aut -> Button 61 // button(1, 6, b_managed_HDG); // engage managed HDG mode -> Button 62 // button(1, 7, b_managed_ALT); // engage managed ALT mode -> Button 63 }; //-------------------------------------------------------------------------- // Joystick_03 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_03) { connector(ModuleOne); analog(12, Rudder, X); // Rudder pedals analog(13, RightBrakes, Y); // Right Brakes analog(14, LeftBrakes, Z); // Left Brakes analog(15, NoseWheelTiller, Rx); // Nose wheel tiller // Module 1, Scan row 2 button(2, 0, b_ADF1_P); // ADF1 enable, Pilot side -> Button 64 button(2, 1, b_VOR1_P); // VOR1 enable, Pilot side -> Button 65 button(2, 2, b_ADF2_P); // ADF2 enable, Pilot side -> Button 66 button(2, 3, b_VOR2_P); // VOR2 enable, Pilot side -> Button 67 button(2, 4, b_LS_P); // LS enable, Pilot side -> Button 68 button(2, 5, b_FD_P); // Flight director enable, Pilot side -> Button 69 button(2, 6, b_InHg_hPa_P); // Switch between HG and hPA, Pilot Side -> Button 70 button(2, 7, b_BaroStd_P); // Baro standard enable, Pilot side -> Button 71 // Module 1, Scan Row 3 button(3, 0, b_ND_10_P); // ND range 10, Pilot side -> Button 72 button(3, 1, b_ND_20_P); // ND range 20, Pilot side -> Button 73 button(3, 2, b_ND_40_P); // ND range 40, Pilot side -> Button 74 button(3, 3, b_ND_80_P); // ND range 80, Pilot side -> Button 75 button(3, 4, b_ND_160_P); // ND range 160, Pilot side -> Button 76 button(3, 5, b_ND_320_P); // ND range 320, Pilot side -> Button 77 button(3, 6, b_ARPT_P); // ND ARPT toggle, Pilot side -> Button 78 button(3, 7, b_NDB_P); // ND NDB togle, Pilot side -> Button 79 // Module 1, Scan Row 4 button(4, 0, b_ND_ILS_P); // ND ILS mode, Pilot side -> Button 80 button(4, 1, b_ND_VOR_P); // ND VOR mode, Pilot side -> Button 81 button(4, 2, b_ND_NAV_P); // ND NAV mode, Pilot side -> Button 82 button(4, 3, b_ND_ARC_P); // ND ARC mode, Pilot side -> Button 83 button(4, 4, b_ND_PLN_P); // ND PLN mode, Pilot side -> Button 84 button(4, 5, b_ND_ENG_P); // ND ENG mode, Pilot side -> Button 85 button(4, 6, b_VORD_P); // ND VOR toggle, Pilot side -> Button 86 button(4, 7, b_WPT_P); // ND WPT toggle, Pilot side -> Button 87 // Module 1, Scan Row 5 button(5, 0, b_CSTR_P); // ND CSTR toggle, Pilot side -> Button 88 }; //-------------------------------------------------------------------------- // Device Glareshield Wings (Pilot Side) // Joystick_04 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_04) { connector(ModuleOne); // Module 1, Scan Row 5 (cont'd) button(5, 1, b_StickPrio_P); // Sidestick priority, Pilot side -> Button 89 button(5, 2, b_MastWarn_P); // Master Warning, Pilot side -> Button 90 button(5, 3, b_MastCaut_P); // Master Caution, Pilot side -> Button 91 button(5, 4, b_AutoLand_P); // AutoLand, Pilot side -> Button 92 button(5, 5, b_Chrono_P); // Chrono, Pilot side -> Button 93 button(5, 6, b_TOGA); // Virtual Button, TOGA -> Button 94 //button(5. 7, b_95); // free -> Button 95 }; //-------------------------------------------------------------------------- // Device EICAS (CoPilot Side) // Joystick_05 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_05) { connector(ModuleOne); // Module 1, Scan row 6 button(6, 0, b_ADF1_CP); // ADF1 enable, Pilot side -> Button 96 button(6, 1, b_VOR1_CP); // VOR1 enable, Pilot side -> Button 97 button(6, 2, b_ADF2_CP); // ADF2 enable, Pilot side -> Button 98 button(6, 3, b_VOR2_CP); // VOR2 enable, Pilot side -> Button 99 button(6, 4, b_LS_CP); // LS enable, Pilot side -> Button 100 button(6, 5, b_FD_CP); // Flight director enable, Pilot side -> Button 101 button(6, 6, b_InHg_hPa_CP); // Switch between HG and hPA, Pilot Side -> Button 102 button(6, 7, b_BaroStd_CP); // Baro standard enable, Pilot side -> Button 103 // Module 1, Scan Row 7 button(7, 0, b_ND_10_CP); // ND range 10, Pilot side -> Button 104 button(7, 1, b_ND_20_CP); // ND range 20, Pilot side -> Button 105 button(7, 2, b_ND_40_CP); // ND range 40, Pilot side -> Button 106 button(7, 3, b_ND_80_CP); // ND range 80, Pilot side -> Button 107 button(7, 4, b_ND_160_CP); // ND range 160, Pilot side -> Button 108 button(7, 5, b_ND_320_CP); // ND range 320, Pilot side -> Button 109 button(7, 6, b_ARPT_CP); // ND ARPT toggle, Pilot side -> Button 100 button(7, 7, b_NDB_CP); // ND NDB togle, Pilot side -> Button 111 // Module 1, Scan Row 8 button(8, 0, b_ND_ILS_CP); // ND ILS mode, Pilot side -> Button 112 button(8, 1, b_ND_VOR_CP); // ND VOR mode, Pilot side -> Button 113 button(8, 2, b_ND_NAV_CP); // ND NAV mode, Pilot side -> Button 114 button(8, 3, b_ND_ARC_CP); // ND ARC mode, Pilot side -> Button 115 button(8, 4, b_ND_PLN_CP); // ND PLN mode, Pilot side -> Button 116 button(8, 5, b_ND_ENG_CP); // ND ENG mode, Pilot side -> Button 117 button(8, 6, b_VORD_CP); // ND VOR toggle, Pilot side -> Button 118 button(8, 7, b_WPT_CP); // ND WPT toggle, Pilot side -> Button 119 // Module 1, Scan Row 9 button(9, 0, b_CSTR_CP); // ND CSTR toggle, Pilot side -> Button 120 }; //-------------------------------------------------------------------------- // Device EICAS (CoPilot Side) // Joystick_06 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_06) { connector(ModuleOne); // Module 1, Scan Row 9 (cont'd) button(9, 1, b_StickPrio_CP); // Sidestick priority, Pilot side -> Button 121 button(9, 2, b_MastWarn_CP); // Master Warning, Pilot side -> Button 122 button(9, 3, b_MastCaut_CP); // Master Caution, Pilot side -> Button 123 button(9, 4, b_AutoLand_CP); // AutoLand, Pilot side -> Button 124 button(9, 5, b_Chrono_CP); // Chrono, Pilot side -> Button 125 button(9, 6, b_126); // free -> Button 126 button(9, 7, b_127); // free -> Button 127 }; //-------------------------------------------------------------------------- // Device MCDU Pilot (buttons on module one) // Joystick_07 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_07) { connector(ModuleOne); // Module 1, Scan Row 10 button(10, 0, b_CDU_LSK1L_P); // Line select Key 1 left -> Button 128 button(10, 1, b_CDU_LSK2L_P); // Line select Key 2 left -> Button 129 button(10, 2, b_CDU_LSK3L_P); // Line select Key 3 left -> Button 130 button(10, 3, b_CDU_LSK4L_P); // Line select Key 4 left -> Button 131 button(10, 4, b_CDU_LSK5L_P); // Line select Key 5 left -> Button 132 button(10, 5, b_CDU_LSK6L_P); // Line select Key 6 left -> Button 133 button(10, 6, b_CDU_ARPT_P); // ARPT: Airport page key -> Button 134 button(10, 7, b_CDU_DIR_P); // DIR: Direct to page key -> Button 135 // Module 1, Scan Row 11 button(11, 0, b_CDU_LSK1R_P); // Line select Key 1 right -> Button 136 button(11, 1, b_CDU_LSK2R_P); // Line select Key 2 right -> Button 137 button(11, 2, b_CDU_LSK3R_P); // Line select Key 3 right -> Button 138 button(11, 3, b_CDU_LSK4R_P); // Line select Key 4 right -> Button 139 button(11, 4, b_CDU_LSK5R_P); // Line select Key 5 right -> Button 140 button(11, 5, b_CDU_LSK6R_P); // Line select Key 6 right -> Button 141 button(11, 6, b_CDU_DATA_P); // DATA: Data page key -> Button 142 button(11, 7, b_CDU_INIT_P); // INIT: Init page key -> Button 143 // Module 1, Scan Row 12 button(12, 0, b_CDU_PROG_P); // PROG: Progress page key -> Button 144 button(12, 1, b_CDU_PERF_P); // PERF: Performance page key -> Button 145 button(12, 2, b_CDU_NXTPG_P); // NEXT PAGE: Next Page key -> Button 146 button(12, 3, b_CDU_FPLN_P); // F-PLN: Flight Plan page key -> Button 147 button(12, 4, b_CDU_RADNAV_P); // RAD-NAV: Radio/Navigation page key -> Button 148 button(12, 5, b_CDU_FPRED_P); // FUEL PRED: Fuel Prediction key -> Button 149 button(12, 6, b_CDU_SFPLN_P); // SEC F-PLAN: Secondary Flight Plan key -> Button 150 button(12, 7, b_CDU_VOID_P); // empty key, no function (so far) -> Button 151 // Module 1, Scan Row 13 button(13, 0, b_CDU_MENU_P); // MENU: Menu Page Key -> Button 152 button(13, 1, b_CDU_A_P); // A key -> Button 153 button(13, 2, b_CDU_B_P); // B key -> Button 154 button(13, 3, b_CDU_C_P); // C key -> Button 155 button(13, 4, b_CDU_D_P); // D key -> Button 156 button(13, 5, b_CDU_E_P); // E key -> Button 157 button(13, 6, b_CDU_F_P); // F key -> Button 158 button(13, 7, b_CDU_G_P); // G key -> Button 159 // Module 1, Scan Row 14 button(14, 0, b_CDU_H_P); // H key -> Button 160 button(14, 1, b_CDU_I_P); // I key -> Button 161 button(14, 2, b_CDU_J_P); // J key -> Button 162 button(14, 3, b_CDU_K_P); // K key -> Button 163 button(14, 4, b_CDU_L_P); // L key -> Button 164 button(14, 5, b_CDU_M_P); // M key -> Button 165 button(14, 6, b_CDU_N_P); // N key -> Button 166 button(14, 7, b_CDU_O_P); // O key -> Button 167 // Module 1, Scan Row 15 button(15, 0, b_CDU_P_P); // P key -> Button 168 button(15, 1, b_CDU_Q_P); // Q key -> Button 169 button(15, 2, b_CDU_R_P); // R key -> Button 170 button(15, 3, b_CDU_S_P); // S key -> Button 171 button(15, 4, b_CDU_T_P); // T key -> Button 172 button(15, 5, b_CDU_U_P); // U key -> Button 173 button(15, 6, b_CDU_V_P); // V key -> Button 174 button(15, 7, b_CDU_W_P); // W key -> Button 175 }; //-------------------------------------------------------------------------- // Device MCDU Pilot (buttons on module two) // Joystick_08 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_08) { connector(ModuleTwo); // Module 2, Scan Row 0 button(0, 0, b_CDU_X_P); // X key -> Button 176 button(0, 1, b_CDU_Y_P); // Y key -> Button 177 button(0, 2, b_CDU_Z_P); // Z key -> Button 178 button(0, 3, b_CDU_SLASH_P); // /: Slash key -> Button 179 button(0, 4, b_CDU_SPACE_P); // _: Space key -> Button 180 button(0, 5, b_CDU_OVFY_P); // OVFY: Overfly key -> Button 181 button(0, 6, b_CDU_CLEAR_P); // CLR: Clear key -> Button 182 button(0, 7, b_CDU_SIGN_P); // +-: Sign key -> Button 183 // Module 2, Scan Row 1 button(1, 0, b_CDU_LEFT_P); // <: Left arrow key -> Button 184 button(1, 1, b_CDU_UP_P); // ^: Up arrow key -> Button 185 button(1, 2, b_CDU_RIGHT_P); // >: right arrow key -> Button 186 button(1, 3, b_CDU_DOWN_P); // v: Down arrow key -> Button 187 button(1, 4, b_CDU_1_P); // 1 key -> Button 188 button(1, 5, b_CDU_2_P); // 2 key -> Button 189 button(1, 6, b_CDU_3_P); // 3 key -> Button 190 button(1, 7, b_CDU_4_P); // 4 key -> Button 191 // Module 3, Scan Row 2 button(2, 0, b_CDU_5_P); // 5 key -> Button 192 button(2, 1, b_CDU_6_P); // 6 key -> Button 193 button(2, 2, b_CDU_7_P); // 7 key -> Button 194 button(2, 3, b_CDU_8_P); // 8 key -> Button 195 button(2, 4, b_CDU_9_P); // 9 key -> Button 196 button(2, 5, b_CDU_0_P); // 0 key -> Button 197 button(2, 6, b_CDU_POINT_P); // .: Decimal point key -> Button 198 }; //-------------------------------------------------------------------------- // Device RMP (Pilot Side) // Joystick_09 in FS2000.CFG //-------------------------------------------------------------------------- device(Joystick_09) { connector(ModuleTwo); // Module 2, Scan Row 2 (cont'd) button(2, 7, b_RMP_XFER_P); // XFER VHF1 freq. act - stby -> Button 199 // Module 2, Scan Row 3 button(3, 0, b_RMP_VHF1_P); // VHF1 selector -> Button 200 button(3, 1, b_RMP_VHF2_P); // VHF2 selector -> Button 201 button(3, 2, b_RMP_VHF3_P); // VHF3 selector -> Button 202 button(3, 3, b_RMP_HF1_P); // HF1 selector -> Button 203 button(3, 4, b_RMP_SEL_P); // SEL light -> Button 204 button(3, 5, b_RMP_HF2_P); // HF2 selector -> Button 205 button(3, 6, b_RMP_AM_P); // AM selector -> Button 206 button(3, 7, b_RMP_NAV_P); // NAV backup mode selector -> Button 207 // Module 2, Scan Row 4 button(4, 0, b_RMP_VOR_P); // VOR frequency select enable -> Button 208 button(4, 1, b_RMP_ILS_P); // ILS frequency select enable -> Button 209 button(4, 2, b_RMP_MLS_P); // MLS frequency select enable -> Button 210 button(4, 3, b_RMP_ADF_P); // ADF frequency select enable -> Button 211 button(4, 4, b_RMP_BFO_P); // BFO frequency select enable -> Button 212 button(4, 5, b_RMP_OnOff_P); // On/Off button RMP pilot -> Button 213 button(4, 6, b_RudderTrim_L); // Rudder trim left on -> Button 214 button(4, 7, b_RudderTrim_R); // Rudder trim right on -> Button 215 }; //-------------------------------------------------------------------------- // Device ECAM display select panel // Joystick_10 //-------------------------------------------------------------------------- device(Joystick_10) { connector(ModuleTwo); // Module 2, Scan Row 5 button(5, 0, b_TO_CFG); // Take off config -> Button 214 button(5, 1, b_EMER_CANC); // Emergency cancel -> Button 215 button(5, 2, b_ENG_PAGE); // Engine page -> Button 216 button(5, 3, b_BLEED_PAGE); // Bleed page -> Button 217 button(5, 4, b_PRESS_PAGE); // Pressure page -> Button 218 button(5, 5, b_ELEC_AC_PAGE); // Electric AC page -> Button 220 button(5, 6, b_ELEC_DC_PAGE); // Electric DC page -> Button 221 button(5, 7, b_HYD_PAGE); // Hydraulic page -> Button 222 // Module 2, Scan Row 6 button(6, 0, b_CIRCUIT_BREAKER_PAGE); // Circuit breaker page -> Button 223 button(6, 1, b_APU_PAGE); // APU page -> Button 224 button(6, 2, b_AIR_COND_PAGE); // Air condition page -> Button 225 button(6, 3, b_DOOR_PAGE); // Door page -> Button 226 button(6, 4, b_WHEEL_PAGE); // Wheel page -> Button 227 button(6, 5, b_FLIGHT_CTL_PAGE); // Flight control page -> Button 228 button(6, 6, b_FUEL_PAGE); // Fuel page -> Button 229 button(6, 7, b_ALL_PAGES_BTN); // All pages sequentially displayed -> Button 230 // Module 2, Scan Row 7 button(7, 0, b_CLEAR_LEFT_BTN); // Left clear button -> Button 231 button(7, 1, b_STATUS_PAGE); // ECAM status page -> Button 232 button(7, 2, b_RECALL_BTN); // Recall button -> Button 233 button(7, 3, b_CLEAR_RIGHT_BTN); // Right clear button -> Button 234 button(7, 4, b_UPPER_ECAM); // Upper ecam on/off -> Button 235 button(7, 5, b_LOWER_ECAM); // Lower ecam on/off -> Button 236 }; //-------------------------------------------------------------------------- // Device Engine start, WXR, EFIS DMC // Joystick_11 //-------------------------------------------------------------------------- device(Joystick_11) { connector(ModuleTwo); // Module 2, Scan Row 8 button(8, 0, b_ENG_1_STARTER); // Engine 1 start switch -> Button 239 button(8, 1, b_ENG_2_STARTER); // Engine 2 start switch -> Button 240 button(8, 2, b_ENG_3_STARTER); // Engine 3 start switch -> Button 241 button(8, 3, b_ENG_4_STARTER); // Engine 4 start switch -> Button 242 button(8, 4, b_ENG_NORM); // Engine master start : Normal -> Button 243 button(8, 5, b_ENG_IGN_START); // Engine master start : Ign/start -> Button 244 button(8, 6, b_ENG_CRANK); // Engine master start : crank -> Button 245 button(9, 7, b_mod2_row8_free); // free -> Button 246 // Module 2, Scan Row 9 button(9, 0, b_LDSPKR_CPT_ON_OFF); // Captains loudspeaker on/off -> Button 247 button(9, 1, b_CPT_EFIS_DMC_2); // EFIS DMC position 2 -> Button 248 button(9, 2, b_CPT_EFIS_DMC_3); // EFIS DMC position 3 -> Button 249 button(9, 3, b_CPT_EFIS_DMC_NORM); // EFIS DMC position normal -> Button 250 button(9, 4, b_CPT_PFD_ND_SWAP); // Swap PFD/ND Displays -> Button 251 button(9, 5, b_CPT_ND_ON_OFF); // ND Display on/off -> Button 252 button(9, 6, b_CPT_PFD_ON_OFF); // PFD Display on/off -> Button 253 button(9, 7, b_mod2_row9_free); // free -> Button 254 // Module 2, Scan Row 10 button(10, 0, b_LDSPKR_FO_ON_OFF); // First officer loudspeaker on/off -> Button 255 button(10, 1, b_FO_EFIS_DMC_1); // EFIS DMC position 2 -> Button 256 button(10, 2, b_FO_EFIS_DMC_3); // EFIS DMC position 3 -> Button 257 button(10, 3, b_FO_EFIS_DMC_NORM); // EFIS DMC position normal -> Button 258 button(10, 4, b_FO_PFD_ND_SWAP); // Swap PFD/ND Displays -> Button 259 button(10, 5, b_FO_ND_ON_OFF); // ND Display on/off -> Button 260 button(10, 6, b_FO_PFD_ON_OFF); // PFD Display on/off -> Button 261 button(10, 7, b_mod2_row10_free); // free -> Button 262 // Module 2, Scan Row 11 button(11, 0, b_WXR_SYS2); // Weather radar system 1 -> Button 255 button(11, 1, b_WXR_SYS1); // Weather radar system 2 -> Button 256 button(11, 2, b_WXR_WX); // Weather radar WXR -> Button 257 button(11, 3, b_WXR_WX_TURB); // Weather radar WXR/TURB -> Button 258 button(11, 4, b_WXR_MAP); // Weather radar MAP -> Button 259 button(11, 5, b_WXR_GAIN_ON_OFF); // Weather radar gain on/off -> Button 260 button(11, 6, b_mod2_row11_B6_free); // free -> Button 261 button(11, 7, b_mod2_row11_B7_free); // free -> Button 262 }; //-------------------------------------------------------------------------- // ATC, XPDR // Joystick_12 //-------------------------------------------------------------------------- device(Joystick_12) { connector(ModuleTwo); // Module 2, Scan Row 12 button(12, 0, b_ATC_Ident); // ATC Ident -> Button 263 button(12, 1, b_ATC_SYS2); // ATC System 1 -> Button 264 button(12, 2, b_ATC_SYS1); // ATC System2 -> Button 265 button(12, 3, b_StrobeOff); // Strobe off (when button on, when off -> AUTO) -> Button 266 button(12, 4, b_Beacon); // Beacon -> Button 267 button(12, 5, b_WingLights); // Wing lights -> Button 268 button(12, 6, b_NavLogoOff); // Nav logo off (when button on, when off -> AUTO) -> Button 269 button(12, 7, b_NavLogoOn); // Nav logo on (when button on, when off -> AUTO) -> Button 270 // Module 2, Scan Row 13 button(13, 0, b_TCAS_Below); // TCAS below -> Button 271 button(13, 1, b_TCAS_Above); // TCAS above -> Button 272 button(13, 2, b_TCAS_Mode_TFC); // TCAS mode TFC -> Button 273 button(13, 3, b_TCAS_Mode_TA_RA); // TCAS mode TA/RA -> Button 274 button(13, 4, b_TCAS_Mode_TA); // TCAS mode TA -> Button 275 button(13, 5, b_TCAS_Mode_DEACT); // TCAS mode DEAcT -> Button 276 button(13, 6, b_TCAS_Mode_STBY); // TCAS mode STBY -> Button 277 button(13, 7, b_TCAS_Mode_XPDR); // TCAS mode XPDR -> Button 278 // Module 2, Scan Row 14 button(14, 0, b_RwyTurnOff); // Runway turnoff lights -> Button 279 button(14, 1, b_LandingLights); // Landing lights -> Button 280 button(14, 2, b_NoseLightTO); // Nose light T.O. (when button on, when off-> TAXI) -> Button 282 button(14, 3, b_NoseLightTaxi); // Nose light off (when button on, when off -> TAXI) -> Button 281 button(14, 4, b_ApuMaster); // APU master switch -> Button 283 button(14, 5, b_ApuStart); // APU start switch -> Button 284 button(14, 6, b_SeatBeltsSignOff); // seat belts off (when button on, when off -> AUTO) -> Button 285 button(14, 7, b_SeatBeltsSignOn); // seat belts on (when button on, when off -> AUTO) -> Button 286 // Module 2, Scan Row 15 button(15, 0, b_NoSmokingSignOn); // no smoking on (when button off, when on -> AUTO) -> Button 287 button(15, 1, b_NoSmokingSignOff); // no smoking off (when button off, when on -> AUTO) -> Button 288 button(15, 2, b_AnnLight_Test); // Annunciator lights test (when button on, when off -> BRT) -> Button 290 button(15, 3, b_AnnLight_Bright); // Annunciator lights bright (when button on, when off -> BRT) -> Button 289 button(15, 4, b_291); // button(15, 5, b_292); // button(15, 6, b_293); // button(15, 7, b_294); // }; //========================================================================== // Display Devices // Display in FS2000.CFG //========================================================================== //-------------------------------------------------------------------------- // 7-segment displays Module 1 // display(name, module, start_digit, format) // display(two, 2, 4, "0000", true) zeroes shown // display(two, 2, 4, "99.99", true) zeroes supressed, decimal point enabled //-------------------------------------------------------------------------- device(Display) { display(disp_ALT, BITOUTPUT, 0, "00000", true); // 5 digits, decimal point disabled display(disp_ALT_00, BITOUTPUT, 0, "00", true); // 2 digits, decimal point disabled display(disp_ALT_000, BITOUTPUT, 2, "000", true); // 3 digits, decimal point disabled display(disp_ALT_mngd, BITOUTPUT, 0, "00.", true); // 2 digits, last decimal point enabled display(disp_SPD, BITOUTPUT, 5, "000", true); // 3 digits, decimal point disabled display(disp_MACH_blank, BITOUTPUT, 7, "9.", true); // 1 digits, decimal point enabled display(disp_MACH, BITOUTPUT, 5, "00", true); // 2 digits, decimal point disabled display(disp_VS, BITOUTPUT, 8, "0000", true); // 4 digits, decimal point disabled display(disp_sign_VS, BITOUTPUT, 12, "9", true); // 1 digit, decimal point disabled, leading 0 blanking display(disp_FPA, BITOUTPUT, 8, "0.0", true); // 2 digits, decimal point enabled display(disp_sign_FPA, BITOUTPUT, 10, "9", true); // 1 digit, decimal point disabled, leading 0 blanking display(disp_FPA_BLANK, BITOUTPUT, 11, "00", true); // 2 digit, decimal point disabled, all 0 blanking display(disp_HDG, BITOUTPUT, 13, "000", true); // 3 digits, decimal point disabled display(disp_BaroInHg_CP, BITOUTPUT, 16, "00.00", true); // decimal point enabled display(disp_BarohPa_CP, BITOUTPUT, 16, "0000", true); // decimal point disabled display(disp_BaroInHg_P, BITOUTPUT, 20, "00.00", true); // decimal point enabled display(disp_BarohPa_P, BITOUTPUT, 20, "0000", true); // decimal point disabled display(disp_XPDR, BITOUTPUT, 24, "0000", true); // 4 digits, decimal point disabled display(disp_XPDR_1_10, BITOUTPUT, 24, "00", true); // 2 digits, decimal point disabled display(disp_XPDR_100_1000, BITOUTPUT, 26, "00", true); // 2 digits, decimal point disabled display(disp_RudTrimPos, BITOUTPUT, 28, "0.00", true); // 3 digits Rudder Trim display, decimal point enabled display(disp_RudTrimPos_LR, BITOUTPUT, 31, "0", true); // 1 digit Rudder Trim display L/R, decimal point disabled //TEST display(disp_ElevTrimPos, BITOUTPUT, 28, "0000", true); // 3 digits Rudder Trim display, decimal point enabled //TEST //-------------------------------------------------------------------- // 7-segment display Module 2 //-------------------------------------------------------------------- display(disp_VHF1stby_d, BITOUTPUT, 32, "00", true); // 2 digits, decimal part display(disp_VHF1stby_h, BITOUTPUT, 34, "999.", true); // 3 digits, hundreds part, leading zero blanking display(disp_ADF1stby_d, BITOUTPUT, 32, "00", true); // 2 digit, decimal point not set display(disp_ADF1stby_h, BITOUTPUT, 34, "999.", true); // 3 digits, decimal point set, leading zero blanking display(disp_VOR1crs, BITOUTPUT, 32, "99999", true); // 5 digits, no decimal point display(disp_VHF1act, BITOUTPUT, 40, "999.00", true); display(disp_ADF1act, BITOUTPUT, 40, "0000.0", true); display(disp_VHF2stby_d, BITOUTPUT, 48, "00", true); // 2 digits, decimal part display(disp_VHF2stby_h, BITOUTPUT, 50, "999.", true); // 3 digits, hundreds part, leading zero blanking display(disp_ADF2stby_d, BITOUTPUT, 48, "00", true); // 2 digit, decimal point not set display(disp_ADF2stby_h, BITOUTPUT, 50, "999.", true); // 3 digits, display(disp_VOR2crs, BITOUTPUT, 48, "99999", true); // 5 digits, no decimal point display(disp_VHF2act, BITOUTPUT, 56, "999.00", true); // 2 digits, decimal part display(disp_ADF2act, BITOUTPUT, 56, "0000.0", true); //------------------------------------------------------------------------------------------ // Redefinition of all displays for "bulb test". When the "Test" button is pressed, all // lights should light up, including the 7-segment displays with all decimal points and // segments lit up. Groups of 4 digits are defined, because this way it's easy to send // a word variable with the figure '8888' to light up all segments of the digit. //------------------------------------------------------------------------------------------ display(disp_SegTest0, BITOUTPUT, 0, "0000", true); // all decimal points enabled display(disp_SegTest1, BITOUTPUT, 4, "0000", true); // all decimal points enabled display(disp_SegTest2, BITOUTPUT, 8, "0000", true); // all decimal points enabled display(disp_SegTest3, BITOUTPUT, 12, "0000", true); // all decimal points enabled display(disp_SegTest4, BITOUTPUT, 16, "0000", true); // all decimal points enabled display(disp_SegTest5, BITOUTPUT, 20, "0000", true); // all decimal points enabled display(disp_SegTest6, BITOUTPUT, 24, "0000", true); // all decimal points enabled display(disp_SegTest7, BITOUTPUT, 28, "0000", true); // all decimal points enabled display(disp_SegTest8, BITOUTPUT, 32, "0000", true); // all decimal points enabled display(disp_SegTest9, BITOUTPUT, 36, "0000", true); // all decimal points enabled display(disp_SegTest10, BITOUTPUT, 40, "0000", true); // all decimal points enabled display(disp_SegTest11, BITOUTPUT, 44, "0000", true); // all decimal points enabled display(disp_SegTest12, BITOUTPUT, 48, "0000", true); // all decimal points enabled display(disp_SegTest13, BITOUTPUT, 52, "0000", true); // all decimal points enabled display(disp_SegTest14, BITOUTPUT, 56, "0000", true); // all decimal points enabled display(disp_SegTest15, BITOUTPUT, 60, "0000", true); // all decimal points enabled }; //========================================================================== // Define Output module lights and LED's, output module 0, rows 0 to 3 // The output statement has the following parameter: // output(name, module number, row number) //========================================================================== device(LEDs) { // Module 0, row 0 output(LEDs_0, 0, 0) { led_LOC = 0b00000001; led_AP1 = 0b00000010; led_AP2 = 0b00000100; led_AT = 0b00001000; led_ALT = 0b00010000; led_APP = 0b00100000; led_mngd_SPD = 0b01000000; led_mngd_HDG = 0b10000000; }; // Module 0, row 1 output(LEDs_1, 0, 1) { led_mngd_ALT = 0b00000001; led_StickPrio_RedArrow_P = 0b00000010; led_MastWarn_P = 0b00000100; led_MastCaut_P = 0b00001000; led_AutoLand_P = 0b00010000; led_StickPrio_RedArrow_CP = 0b00100000; led_MastWarn_CP = 0b01000000; led_MastCaut_CP = 0b10000000; }; // Module 0, row 2 output(LEDs_2, 0, 2) { led_AutoLand_CP = 0b00000001; led_BrakeFan = 0b00000010; led_AutoBrakeMax = 0b00000100; led_AutoBrakeMed = 0b00001000; led_AutoBrakeLow = 0b00010000; led_AutoBrakeFan = 0b00100000; led_free_01 = 0b01000000; led_free_02 = 0b10000000; }; // Module 0, row 3 output(LEDs_3, 0, 3) { led_LdgGearNoseUnlck = 0b00000001; led_LdgGearNoseLock = 0b00000010; led_LdgGearLeftUnlck = 0b00000100; led_LdgGearLeftLock = 0b00001000; led_LdgGearCenterUnlck = 0b00010000; led_LdgGearCenterLock = 0b00100000; led_LdgGearRightUnlck = 0b01000000; led_LdgGearRightLock = 0b10000000; }; //========================================================================== // Define Output module lights and LED's, output module 0, rows 4 to 7 // The output statement has the following parameter: // output(name, module number, row number) //========================================================================== // Module 0, row 4 output(LEDs_4, 0, 4) { led_00 = 0b00000001; led_01 = 0b00000010; led_02 = 0b00000100; led_03 = 0b00001000; led_04 = 0b00010000; led_05 = 0b00100000; led_06 = 0b01000000; led_07 = 0b10000000; }; // Module 0, row 5 output(LEDs_5, 0, 5) { led_07 = 0b00000001; led_09 = 0b00000010; led_10 = 0b00000100; led_11 = 0b00001000; led_12 = 0b00010000; led_13 = 0b00100000; led_14 = 0b01000000; led_15 = 0b10000000; }; // Module 0, row 6 output(LEDs_6, 0, 6) { led_16 = 0b00000001; led_17 = 0b00000010; led_18 = 0b00000100; led_19 = 0b00001000; led_20 = 0b00010000; led_21 = 0b00100000; led_APU_Start = 0b01000000; led_APU_Master = 0b10000000; }; // Module 0, row 7 output(LEDs_7, 0, 7) { led_24 = 0b00000001; led_25 = 0b00000010; led_26 = 0b00000100; led_27 = 0b00001000; led_28 = 0b00010000; led_29 = 0b00100000; led_30 = 0b01000000; led_31 = 0b10000000; }; }; //========================================================================== // Rotary Encoders (module 7) // Joystick_11 in FS2000_CFG //========================================================================== device(Rotaries) { connector(Rotary); // Module 7, Scan Row 0 button(0, 0, r_cnt_SPD); // Speed setting count -> Button 700 button(0, 1, r_dir_SPD); // Speed setting direction -> Button 701 button(0, 2, r_cnt_HDG); // Heading setting count -> Button 702 button(0, 3, r_dir_HDG); // Deading setting direction -> Button 703 button(0, 4, r_cnt_ALT); // Altitude setting count -> Button 704 button(0, 5, r_dir_ALT); // Altitude setting direction -> Button 705 button(0, 6, r_cnt_VS); // Vertical Speed count -> Button 706 button(0, 7, r_dir_VS); // Veritcal Speed direction -> Button 707 // Module 7, Scan Row 1 button(1, 0, r_cnt_Baro_P); // Baro pilot count -> Button 708 button(1, 1, r_dir_Baro_P); // Baro pilot turn direction -> Button 709 button(1, 2, r_cnt_Baro_CP); // Baro copilot count -> Button 710 button(1, 3, r_dir_Baro_CP); // Baro copilot turn direction -> Button 711 button(1, 4, r_cnt_VHF1_h); // COM pilot hundreds count -> Button 712 button(1, 5, r_dir_VHF1_h); // COM pilot hundreds direction -> Button 713 button(1, 6, r_cnt_VHF1_d); // COM pilot decimals count -> Button 714 button(1, 7, r_dir_VHF1_d); // COM pilot decimals direction -> Button 715 // Module 7, Scan Row 2 button(2, 0, r_cnt_VHF2_h); // COM copilot hundreds count -> Button 716 button(2, 1, r_dir_VHF2_h); // COM copilot hundreds direction -> Button 717 button(2, 2, r_cnt_VHF2_d); // COM copilot decimals count -> Button 718 button(2, 3, r_dir_VHF2_d); // COM copilot decimals direction -> Button 719 button(2, 4, r_cnt_XPDR_high); // Transponder upper two digits count -> Button 720 button(2, 5, r_dir_XPDR_high); // Transponder upper two digits turn direction -> Buton 721 button(2, 6, r_cnt_XPDR_low); // Transponder lower two digits count -> Buton 722 button(2, 7, r_dir_XPDR_low); // Transponder lower two digits turn direction -> Buton 723 };