1 /***************************************************************************
5 ----------------------------------------------------------------------------
7 FUNCTION: Header for cockpit IO
9 ----------------------------------------------------------------------------
11 MODULE STATUS: Developmental
13 ----------------------------------------------------------------------------
15 GENEALOGY: Created 20 DEC 93 by E. B. Jackson
17 ----------------------------------------------------------------------------
19 DESIGNED BY: E. B. Jackson
21 CODED BY: E. B. Jackson
23 MAINTAINED BY: E. B. Jackson
25 ----------------------------------------------------------------------------
31 950314 Added "throttle_pct" field to cockpit header for both
32 display and trim purposes. EBJ
38 Revision 1.1 1999/06/17 18:07:34 curt
41 Revision 1.2 1999/04/22 18:47:25 curt
42 Wrap with extern "C" { } if building with __cplusplus compiler.
44 Revision 1.1.1.1 1999/04/05 21:32:45 curt
45 Start of 0.6.x branch.
47 Revision 1.5 1998/10/17 01:34:14 curt
50 Revision 1.4 1998/08/06 12:46:39 curt
53 Revision 1.3 1998/01/22 02:59:32 curt
54 Changed #ifdef FILE_H to #ifdef _FILE_H
56 Revision 1.2 1997/05/31 19:16:27 curt
59 Revision 1.1 1997/05/29 00:09:54 curt
60 Initial Flight Gear revision.
62 * Revision 1.3 1995/03/15 12:32:10 bjax
63 * Added throttle_pct field.
65 * Revision 1.2 1995/02/28 20:37:02 bjax
66 * Changed name of gear_sel_down switch to gear_sel_up to reflect
67 * correct sense of switch. EBJ
69 * Revision 1.1 1993/12/21 14:39:04 bjax
73 --------------------------------------------------------------------------*/
84 float long_stick, lat_stick, rudder_pedal;
87 short forward_trim, aft_trim, left_trim, right_trim;
88 short left_pb_on_stick, right_pb_on_stick, trig_pos_1, trig_pos_2;
89 short sb_extend, sb_retract, gear_sel_up;
94 extern COCKPIT cockpit_;
96 #define Left_button cockpit_.left_pb_on_stick
97 #define Right_button cockpit_.right_pb_on_stick
98 #define Rudder_pedal cockpit_.rudder_pedal
99 #define Throttle cockpit_.throttle
100 #define Throttle_pct cockpit_.throttle_pct
101 #define First_trigger cockpit_.trig_pos_1
102 #define Second_trigger cockpit_.trig_pos_2
103 #define Long_control cockpit_.long_stick
104 #define Long_trim cockpit_.long_trim
105 #define Lat_control cockpit_.lat_stick
106 #define Fwd_trim cockpit_.forward_trim
107 #define Aft_trim cockpit_.aft_trim
108 #define Left_trim cockpit_.left_trim
109 #define Right_trim cockpit_.right_trim
110 #define SB_extend cockpit_.sb_extend
111 #define SB_retract cockpit_.sb_retract
112 #define Gear_sel_up cockpit_.gear_sel_up
113 #define Brake_pct cockpit_.brake_pct
120 #endif /* _LS_COCKPIT_H */