Sign in to follow this  
c17loadjp

SDK Events not working

Recommended Posts

Hi all, I have searched for hours and cant find anything. I have HIDmacros and the 737ngx works great, but I try to program HIDMacros for the T7 and they don't work. I do get some odd switches when I program a different event. Like, call LeftClick ("PMDG_EVT_OH_LIGHTS_TAXI"), the wing light switch throws. I am Stumped, any advice is appreciated.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Yes me to would be great to work this out. How do you add the events list to hid macros btw?

Share this post


Link to post
Share on other sites

under macros, new...type name of event. Under action, scripted....type in the event,..ex. call LeftClick("PMDG_EVT_OH_LIGHTS_TAXI") Then hit scan, and the key on your keyboard.

Share this post


Link to post
Share on other sites

Nobody? Out of all of you computer geniuses. Anybody know of another way to assign pmdg 777 events to a second keyboard? Thanks.

Share this post


Link to post
Share on other sites

The Event-ID's for 737 and 777 are diffrent in PMDG!

737:

#define EVT_OH_LIGHTS_TAXI                            (THIRD_PARTY_EVENT_ID_MIN + 117)  

which reassembles to 69749

 

777:

#define EVT_OH_LIGHTS_TAXI                                (THIRD_PARTY_EVENT_ID_MIN + 121)  

which reassembles to 69753

 

(found in the sdk in the FSX\PMDG Folder)

 

Looking into the 777 Header the Event 117 will map to EVT_OH_LIGHTS_WING

 

So you'll have to make diffrent scripts for the planes.

No Idea why they changed the Offsets and not just added at the end ....

Share this post


Link to post
Share on other sites

I can get some things to work. what I did was just match the numbers to 737 sdk.h file. the bad thing is that a lot of the numbers arnt there. I think I might need a global script that matches the 777 like the 737 has for hidmacros. I tried different things in that script but does not work. I have no idea how to set the "#define PMDG_EVT" in hidmacros. somethings I figured out as far as hidmacros.fsxevent"#......",0. But problem I have there is I cant figure out how to get the same keypress to do the opposite action, like taxi light. I can get it on but it wont turn off. another thing I cant figure out is knobmode for spinning the knobs. I wish it was as easy as the pmdg 737. thanks for any and all help.

Share this post


Link to post
Share on other sites

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
Sign in to follow this