Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,

 

While adding events to Talking flight monitor, I found that the towing power event is missing. Here is the line from the PMDG 747 SDK.

 

#define    EVT_OH_ELEC_TOWING_PWR                            (THIRD_PARTY_EVENT_ID_MIN + 287)      // 747-8

 

Can you add this event?

Posted

I can, but it's not in the version of the .h file I have here.

I'm using PMDG_747QOTSII_SDK.h from 2017. Could you PM me the file you're working from? That way I can just add all new events in one go.

I've also found a newer offset list for the 747 so I'll check those too and add any new offsets.

Paul 

Posted

New Offsets:

        public Offset<byte> ELEC_annunBatteryOFF { get; private set; }
        public Offset<byte> FIRE_annunCargoDEPRESS { get; private set; }
        public Offset<byte> MCP_panelPowered { get; private set; }
        public Offset<byte>[] COMM_RadioPanelPowered { get; private set; }
        public Offset<byte>[] COMM_AudioControlPanelPowered { get; private set; }
        public Offset<byte> TCAS_ATC_panelPowered { get; private set; }
        public Offset<byte>[] FIRE_HandleIllumination { get; private set; }
        public Offset<byte> WheelChocksSet { get; private set; }

New Controls:

        // Window heat & anti-fog power (747-8)
        EVT_OH_WINDHT_ANTIFOG_PWR_SIDE_L = (THIRD_PARTY_EVENT_ID_MIN + 242),
        EVT_OH_WINDHT_ANTIFOG_PWR_SIDE_L_GUARD = (THIRD_PARTY_EVENT_ID_MIN + 10242),
        EVT_OH_WINDHT_ANTIFOG_PWR_FWD_L = (THIRD_PARTY_EVENT_ID_MIN + 243),
        EVT_OH_WINDHT_ANTIFOG_PWR_FWD_L_GUARD = (THIRD_PARTY_EVENT_ID_MIN + 10243),
        EVT_OH_WINDHT_ANTIFOG_PWR_SIDE_R = (THIRD_PARTY_EVENT_ID_MIN + 244),
        EVT_OH_WINDHT_ANTIFOG_PWR_SIDE_R_GUARD = (THIRD_PARTY_EVENT_ID_MIN + 10244),
        EVT_OH_WINDHT_ANTIFOG_PWR_FWD_R = (THIRD_PARTY_EVENT_ID_MIN + 245),
        EVT_OH_WINDHT_ANTIFOG_PWR_FWD_R_GUARD = (THIRD_PARTY_EVENT_ID_MIN + 10245),

       EVT_OH_ELEC_TOWING_PWR = (THIRD_PARTY_EVENT_ID_MIN + 287),
        // Overhead Maintenance - EMU MAINT (747-8)
        EVT_OH_EMU_MAINT_PWR_SWITCH = (THIRD_PARTY_EVENT_ID_MIN + 288),
        EVT_OH_EMU_MAINT_PWR_GUARD = (THIRD_PARTY_EVENT_ID_MIN + 10288),

        // EFB
        EVT_EFB_L_START = (THIRD_PARTY_EVENT_ID_MIN + 1700),
        EVT_EFB_L_MENU = (EVT_EFB_L_START + 0),
        EVT_EFB_L_BACK = (EVT_EFB_L_START + 1),
        EVT_EFB_L_PAGE_UP = (EVT_EFB_L_START + 2),
        EVT_EFB_L_PAGE_DOWN = (EVT_EFB_L_START + 3),
        EVT_EFB_L_XFR = (EVT_EFB_L_START + 4),
        EVT_EFB_L_ENTER = (EVT_EFB_L_START + 5),
        EVT_EFB_L_ZOOM_IN = (EVT_EFB_L_START + 6),
        EVT_EFB_L_ZOOM_OUT = (EVT_EFB_L_START + 7),
        EVT_EFB_L_ARROW_UP = (EVT_EFB_L_START + 8),
        EVT_EFB_L_ARROW_DOWN = (EVT_EFB_L_START + 9),
        EVT_EFB_L_ARROW_LEFT = (EVT_EFB_L_START + 10),
        EVT_EFB_L_ARROW_RIGHT = (EVT_EFB_L_START + 11),
        EVT_EFB_L_LSK_1L = (EVT_EFB_L_START + 12),
        EVT_EFB_L_LSK_2L = (EVT_EFB_L_START + 13),
        EVT_EFB_L_LSK_3L = (EVT_EFB_L_START + 14),
        EVT_EFB_L_LSK_4L = (EVT_EFB_L_START + 15),
        EVT_EFB_L_LSK_5L = (EVT_EFB_L_START + 16),
        EVT_EFB_L_LSK_6L = (EVT_EFB_L_START + 17),
        EVT_EFB_L_LSK_7L = (EVT_EFB_L_START + 18),
        EVT_EFB_L_LSK_8L = (EVT_EFB_L_START + 19),
        EVT_EFB_L_LSK_1R = (EVT_EFB_L_START + 20),
        EVT_EFB_L_LSK_2R = (EVT_EFB_L_START + 21),
        EVT_EFB_L_LSK_3R = (EVT_EFB_L_START + 22),
        EVT_EFB_L_LSK_4R = (EVT_EFB_L_START + 23),
        EVT_EFB_L_LSK_5R = (EVT_EFB_L_START + 24),
        EVT_EFB_L_LSK_6R = (EVT_EFB_L_START + 25),
        EVT_EFB_L_LSK_7R = (EVT_EFB_L_START + 26),
        EVT_EFB_L_LSK_8R = (EVT_EFB_L_START + 27),
        EVT_EFB_L_BRIGHTNESS = (EVT_EFB_L_START + 28),
        EVT_EFB_L_POWER = (EVT_EFB_L_START + 29),
        EVT_EFB_L_KEY_START = (EVT_EFB_L_START + 30),
        EVT_EFB_L_KEY_A = (EVT_EFB_L_KEY_START + 0),
        EVT_EFB_L_KEY_B = (EVT_EFB_L_KEY_START + 1),
        EVT_EFB_L_KEY_C = (EVT_EFB_L_KEY_START + 2),
        EVT_EFB_L_KEY_D = (EVT_EFB_L_KEY_START + 3),
        EVT_EFB_L_KEY_E = (EVT_EFB_L_KEY_START + 4),
        EVT_EFB_L_KEY_F = (EVT_EFB_L_KEY_START + 5),
        EVT_EFB_L_KEY_G = (EVT_EFB_L_KEY_START + 6),
        EVT_EFB_L_KEY_H = (EVT_EFB_L_KEY_START + 7),
        EVT_EFB_L_KEY_I = (EVT_EFB_L_KEY_START + 8),
        EVT_EFB_L_KEY_J = (EVT_EFB_L_KEY_START + 9),
        EVT_EFB_L_KEY_K = (EVT_EFB_L_KEY_START + 10),
        EVT_EFB_L_KEY_L = (EVT_EFB_L_KEY_START + 11),
        EVT_EFB_L_KEY_M = (EVT_EFB_L_KEY_START + 12),
        EVT_EFB_L_KEY_N = (EVT_EFB_L_KEY_START + 13),
        EVT_EFB_L_KEY_O = (EVT_EFB_L_KEY_START + 14),
        EVT_EFB_L_KEY_P = (EVT_EFB_L_KEY_START + 15),
        EVT_EFB_L_KEY_Q = (EVT_EFB_L_KEY_START + 16),
        EVT_EFB_L_KEY_R = (EVT_EFB_L_KEY_START + 17),
        EVT_EFB_L_KEY_S = (EVT_EFB_L_KEY_START + 18),
        EVT_EFB_L_KEY_T = (EVT_EFB_L_KEY_START + 19),
        EVT_EFB_L_KEY_U = (EVT_EFB_L_KEY_START + 20),
        EVT_EFB_L_KEY_V = (EVT_EFB_L_KEY_START + 21),
        EVT_EFB_L_KEY_W = (EVT_EFB_L_KEY_START + 22),
        EVT_EFB_L_KEY_X = (EVT_EFB_L_KEY_START + 23),
        EVT_EFB_L_KEY_Y = (EVT_EFB_L_KEY_START + 24),
        EVT_EFB_L_KEY_Z = (EVT_EFB_L_KEY_START + 25),
        EVT_EFB_L_KEY_0 = (EVT_EFB_L_KEY_START + 26),
        EVT_EFB_L_KEY_1 = (EVT_EFB_L_KEY_START + 27),
        EVT_EFB_L_KEY_2 = (EVT_EFB_L_KEY_START + 28),
        EVT_EFB_L_KEY_3 = (EVT_EFB_L_KEY_START + 29),
        EVT_EFB_L_KEY_4 = (EVT_EFB_L_KEY_START + 30),
        EVT_EFB_L_KEY_5 = (EVT_EFB_L_KEY_START + 31),
        EVT_EFB_L_KEY_6 = (EVT_EFB_L_KEY_START + 32),
        EVT_EFB_L_KEY_7 = (EVT_EFB_L_KEY_START + 33),
        EVT_EFB_L_KEY_8 = (EVT_EFB_L_KEY_START + 34),
        EVT_EFB_L_KEY_9 = (EVT_EFB_L_KEY_START + 35),
        EVT_EFB_L_KEY_SPACE = (EVT_EFB_L_KEY_START + 36),
        EVT_EFB_L_KEY_PLUS = (EVT_EFB_L_KEY_START + 37),
        EVT_EFB_L_KEY_MINUS = (EVT_EFB_L_KEY_START + 38),
        EVT_EFB_L_KEY_DOT = (EVT_EFB_L_KEY_START + 39),
        EVT_EFB_L_KEY_SLASH = (EVT_EFB_L_KEY_START + 40),
        EVT_EFB_L_KEY_BACKSPACE = (EVT_EFB_L_KEY_START + 41),
        EVT_EFB_L_KEY_DEL = (EVT_EFB_L_KEY_START + 42),
        EVT_EFB_L_KEY_EQUAL = (EVT_EFB_L_KEY_START + 43),
        EVT_EFB_L_KEY_MULTIPLY = (EVT_EFB_L_KEY_START + 44),
        EVT_EFB_L_KEY_LEFT_PAR = (EVT_EFB_L_KEY_START + 45),
        EVT_EFB_L_KEY_RIGHT_PAR = (EVT_EFB_L_KEY_START + 46),
        EVT_EFB_L_KEY_QUEST = (EVT_EFB_L_KEY_START + 47),
        EVT_EFB_L_KEY_QUOTE = (EVT_EFB_L_KEY_START + 48),
        EVT_EFB_L_KEY_COMMA = (EVT_EFB_L_KEY_START + 49),
        EVT_EFB_L_KEY_PAGE_UP = (EVT_EFB_L_KEY_START + 50),
        EVT_EFB_L_KEY_PAGE_DOWN = (EVT_EFB_L_KEY_START + 51),
        EVT_EFB_L_KEY_ENTER = (EVT_EFB_L_KEY_START + 52),
        EVT_EFB_L_KEY_ARROW_UP = (EVT_EFB_L_KEY_START + 53),
        EVT_EFB_L_KEY_ARROW_DOWN = (EVT_EFB_L_KEY_START + 54),
        EVT_EFB_L_KEY_END = (EVT_EFB_L_KEY_START + 54),
        EVT_EFB_L_END = (EVT_EFB_L_KEY_START + 54),
        EVT_EFB_R_START = (EVT_EFB_L_END + 1),
        EVT_EFB_R_MENU = (EVT_EFB_R_START + 0),
        EVT_EFB_R_BACK = (EVT_EFB_R_START + 1),
        EVT_EFB_R_PAGE_UP = (EVT_EFB_R_START + 2),
        EVT_EFB_R_PAGE_DOWN = (EVT_EFB_R_START + 3),
        EVT_EFB_R_XFR = (EVT_EFB_R_START + 4),
        EVT_EFB_R_ENTER = (EVT_EFB_R_START + 5),
        EVT_EFB_R_ZOOM_IN = (EVT_EFB_R_START + 6),
        EVT_EFB_R_ZOOM_OUT = (EVT_EFB_R_START + 7),
        EVT_EFB_R_ARROW_UP = (EVT_EFB_R_START + 8),
        EVT_EFB_R_ARROW_DOWN = (EVT_EFB_R_START + 9),
        EVT_EFB_R_ARROW_LEFT = (EVT_EFB_R_START + 10),
        EVT_EFB_R_ARROW_RIGHT = (EVT_EFB_R_START + 11),
        EVT_EFB_R_LSK_1L = (EVT_EFB_R_START + 12),
        EVT_EFB_R_LSK_2L = (EVT_EFB_R_START + 13),
        EVT_EFB_R_LSK_3L = (EVT_EFB_R_START + 14),
        EVT_EFB_R_LSK_4L = (EVT_EFB_R_START + 15),
        EVT_EFB_R_LSK_5L = (EVT_EFB_R_START + 16),
        EVT_EFB_R_LSK_6L = (EVT_EFB_R_START + 17),
        EVT_EFB_R_LSK_7L = (EVT_EFB_R_START + 18),
        EVT_EFB_R_LSK_8L = (EVT_EFB_R_START + 19),
        EVT_EFB_R_LSK_1R = (EVT_EFB_R_START + 20),
        EVT_EFB_R_LSK_2R = (EVT_EFB_R_START + 20),
        EVT_EFB_R_LSK_3R = (EVT_EFB_R_START + 22),
        EVT_EFB_R_LSK_4R = (EVT_EFB_R_START + 23),
        EVT_EFB_R_LSK_5R = (EVT_EFB_R_START + 24),
        EVT_EFB_R_LSK_6R = (EVT_EFB_R_START + 25),
        EVT_EFB_R_LSK_7R = (EVT_EFB_R_START + 26),
        EVT_EFB_R_LSK_8R = (EVT_EFB_R_START + 27),
        EVT_EFB_R_BRIGHTNESS = (EVT_EFB_R_START + 28),
        EVT_EFB_R_POWER = (EVT_EFB_R_START + 29),
        EVT_EFB_R_KEY_START = (EVT_EFB_R_START + 30),
        EVT_EFB_R_KEY_A = (EVT_EFB_R_KEY_START + 0),
        EVT_EFB_R_KEY_B = (EVT_EFB_R_KEY_START + 1),
        EVT_EFB_R_KEY_C = (EVT_EFB_R_KEY_START + 2),
        EVT_EFB_R_KEY_D = (EVT_EFB_R_KEY_START + 3),
        EVT_EFB_R_KEY_E = (EVT_EFB_R_KEY_START + 4),
        EVT_EFB_R_KEY_F = (EVT_EFB_R_KEY_START + 5),
        EVT_EFB_R_KEY_G = (EVT_EFB_R_KEY_START + 6),
        EVT_EFB_R_KEY_H = (EVT_EFB_R_KEY_START + 7),
        EVT_EFB_R_KEY_I = (EVT_EFB_R_KEY_START + 8),
        EVT_EFB_R_KEY_J = (EVT_EFB_R_KEY_START + 9),
        EVT_EFB_R_KEY_K = (EVT_EFB_R_KEY_START + 10),
        EVT_EFB_R_KEY_L = (EVT_EFB_R_KEY_START + 11),
        EVT_EFB_R_KEY_M = (EVT_EFB_R_KEY_START + 12),
        EVT_EFB_R_KEY_N = (EVT_EFB_R_KEY_START + 13),
        EVT_EFB_R_KEY_O = (EVT_EFB_R_KEY_START + 14),
        EVT_EFB_R_KEY_P = (EVT_EFB_R_KEY_START + 15),
        EVT_EFB_R_KEY_Q = (EVT_EFB_R_KEY_START + 16),
        EVT_EFB_R_KEY_R = (EVT_EFB_R_KEY_START + 17),
        EVT_EFB_R_KEY_S = (EVT_EFB_R_KEY_START + 18),
        EVT_EFB_R_KEY_T = (EVT_EFB_R_KEY_START + 19),
        EVT_EFB_R_KEY_U = (EVT_EFB_R_KEY_START + 20),
        EVT_EFB_R_KEY_V = (EVT_EFB_R_KEY_START + 21),
        EVT_EFB_R_KEY_W = (EVT_EFB_R_KEY_START + 22),
        EVT_EFB_R_KEY_X = (EVT_EFB_R_KEY_START + 23),
        EVT_EFB_R_KEY_Y = (EVT_EFB_R_KEY_START + 24),
        EVT_EFB_R_KEY_Z = (EVT_EFB_R_KEY_START + 25),
        EVT_EFB_R_KEY_0 = (EVT_EFB_R_KEY_START + 26),
        EVT_EFB_R_KEY_1 = (EVT_EFB_R_KEY_START + 27),
        EVT_EFB_R_KEY_2 = (EVT_EFB_R_KEY_START + 28),
        EVT_EFB_R_KEY_3 = (EVT_EFB_R_KEY_START + 29),
        EVT_EFB_R_KEY_4 = (EVT_EFB_R_KEY_START + 30),
        EVT_EFB_R_KEY_5 = (EVT_EFB_R_KEY_START + 31),
        EVT_EFB_R_KEY_6 = (EVT_EFB_R_KEY_START + 32),
        EVT_EFB_R_KEY_7 = (EVT_EFB_R_KEY_START + 33),
        EVT_EFB_R_KEY_8 = (EVT_EFB_R_KEY_START + 34),
        EVT_EFB_R_KEY_9 = (EVT_EFB_R_KEY_START + 35),
        EVT_EFB_R_KEY_SPACE = (EVT_EFB_R_KEY_START + 36),
        EVT_EFB_R_KEY_PLUS = (EVT_EFB_R_KEY_START + 37),
        EVT_EFB_R_KEY_MINUS = (EVT_EFB_R_KEY_START + 38),
        EVT_EFB_R_KEY_DOT = (EVT_EFB_R_KEY_START + 39),
        EVT_EFB_R_KEY_SLASH = (EVT_EFB_R_KEY_START + 40),
        EVT_EFB_R_KEY_BACKSPACE = (EVT_EFB_R_KEY_START + 41),
        EVT_EFB_R_KEY_DEL = (EVT_EFB_R_KEY_START + 42),
        EVT_EFB_R_KEY_EQUAL = (EVT_EFB_R_KEY_START + 43),
        EVT_EFB_R_KEY_MULTIPLY = (EVT_EFB_R_KEY_START + 44),
        EVT_EFB_R_KEY_LEFT_PAR = (EVT_EFB_R_KEY_START + 45),
        EVT_EFB_R_KEY_RIGHT_PAR = (EVT_EFB_R_KEY_START + 46),
        EVT_EFB_R_KEY_QUEST = (EVT_EFB_R_KEY_START + 47),
        EVT_EFB_R_KEY_QUOTE = (EVT_EFB_R_KEY_START + 48),
        EVT_EFB_R_KEY_COMMA = (EVT_EFB_R_KEY_START + 49),
        EVT_EFB_R_KEY_PAGE_UP = (EVT_EFB_R_KEY_START + 50),
        EVT_EFB_R_KEY_PAGE_DOWN = (EVT_EFB_R_KEY_START + 51),
        EVT_EFB_R_KEY_ENTER = (EVT_EFB_R_KEY_START + 52),
        EVT_EFB_R_KEY_ARROW_UP = (EVT_EFB_R_KEY_START + 53),
        EVT_EFB_R_KEY_ARROW_DOWN = (EVT_EFB_R_KEY_START + 54),
        EVT_EFB_R_KEY_END = (EVT_EFB_R_KEY_START + 54),
        EVT_EFB_R_END = (EVT_EFB_R_KEY_START + 54),
        // Parameter: 1000000 x (action code) + 1000 x (X Coordinate) + (Y Coordinate)
        // action codes: 0 = mouse move, 1 = mouse click, 2= mouse release, 3 = mouse wheel up, 4 = mouse wheel down
        // X / Y Coordinates: 0..1000 of EFB_SCREEN_WIDTH / EFB_SCREEN_HEIGHT (not required for action codes 3 & 4)
        EVT_EFB_L_SCREEN_ACTION = (THIRD_PARTY_EVENT_ID_MIN + 1900),
        EVT_EFB_R_SCREEN_ACTION = (THIRD_PARTY_EVENT_ID_MIN + 1901),

        // Internal use
        EVT_SC_SENSORS_START = (THIRD_PARTY_EVENT_ID_MIN + 14650),
        EVT_SC_SENSOR_THROTTLE_1 = (EVT_SC_SENSORS_START + 0),
        EVT_SC_SENSOR_THROTTLE_2 = (EVT_SC_SENSORS_START + 1),
        EVT_SC_SENSOR_THROTTLE_3 = (EVT_SC_SENSORS_START + 2),
        EVT_SC_SENSOR_THROTTLE_4 = (EVT_SC_SENSORS_START + 3),
        EVT_SC_SENSOR_REVERSER_1 = (EVT_SC_SENSORS_START + 4),
        EVT_SC_SENSOR_REVERSER_2 = (EVT_SC_SENSORS_START + 5),
        EVT_SC_SENSOR_REVERSER_3 = (EVT_SC_SENSORS_START + 6),
        EVT_SC_SENSOR_REVERSER_4 = (EVT_SC_SENSORS_START + 7),
        EVT_SC_SENSOR_SPEEDBRAKE = (EVT_SC_SENSORS_START + 8),
        EVT_SC_SENSOR_FLAPS = (EVT_SC_SENSORS_START + 9),
        EVT_SC_SENSORS_LAST = EVT_SC_SENSOR_FLAPS,
        EVT_SC_AXIS_START = (THIRD_PARTY_EVENT_ID_MIN + 14680),
        EVT_SC_AXIS_OUTBD_DISPL_CAPT = (EVT_SC_AXIS_START + 0),
        EVT_SC_AXIS_INBD_DISPL_CAPT = (EVT_SC_AXIS_START + 1),
        EVT_SC_AXIS_EICAS_UPR = (EVT_SC_AXIS_START + 2),
        EVT_SC_AXIS_EICAS_LWR = (EVT_SC_AXIS_START + 3),
        EVT_SC_AXIS_INBD_DISPL_FO = (EVT_SC_AXIS_START + 4),
        EVT_SC_AXIS_OUTBD_DISPL_FO = (EVT_SC_AXIS_START + 5),
        EVT_SC_AXIS_INBD_TERR_CAPT = (EVT_SC_AXIS_START + 6),
        EVT_SC_AXIS_INBD_TERR_FO = (EVT_SC_AXIS_START + 7),
        EVT_SC_AXIS_EICAS_LWR_TERR = (EVT_SC_AXIS_START + 8),
        EVT_SC_AXIS_LAST = EVT_SC_AXIS_EICAS_LWR_TERR,

Paul

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.