Jump to content
The simFlight Network Forums

Set custom control in PMDG 738 ?


AndyCYXU

Recommended Posts

Hi I wanted to assign a button on my yoke to control HUD display in PMDG.. so when i opened console adn i click in the area to drop/retract it i get something like that

  3347813 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3347844 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3347875 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3347906 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3348813 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97901 (0x00017e6d) ROTOR_BRAKE
  3348875 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97904 (0x00017e70) ROTOR_BRAKE

  3352453 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3352485 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3352516 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3352547 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3352578 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3352906 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3353750 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97901 (0x00017e6d) ROTOR_BRAKE
  3353844 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97904 (0x00017e70) ROTOR_BRAKE

  3356938 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3356969 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3357000 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE

97903 is just moving mouse on the screen but when I click to deploy or retract HUD it gives me the lines in bold.. ?

tying to set up custom control doesn't really do much more like it gives me error anytime i press it

  3303844 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3303875 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3303906 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3311063 Exception 1 "ERROR", Ref 5969, Index param 2 on TransmitClientEvent, object=0, id=97901 (????), data=1
  3314610 Exception 1 "ERROR", Ref 5971, Index param 2 on TransmitClientEvent, object=0, id=97901 (????), data=1
.......
  3336828 Exception 1 "ERROR", Ref 5996, Index param 2 on TransmitClientEvent, object=0, id=97901 (????), data=2
  3337094 Exception 1 "ERROR", Ref 5997, Index param 2 on TransmitClientEvent, object=0, id=97901 (????), data=2

  3340172 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3340203 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3340235 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE
  3340266 *** EVENT: Cntrl= 66587 (0x0001041b), Param= 97903 (0x00017e6f) ROTOR_BRAKE

 

What can I do with that info?

any help appreciated

Thanks


 

Link to comment
Share on other sites

Someone on PMDG forum tried to help me by writing this..

fsuipc ini:
158=N221,296,PPMDG_B737-7_HGS_HUD_UP_DOWN_SWITCH,0 -{ralt+rshift+]}key: Press=Preset Control }-
5=PG,9,CPPMDG_PED_HGS_down,0 -{Preset Control}-
6=PG,8,CPPMDG_PED_HGS_up,0 -{Preset Control}-

Honestly I haven't gotten the slightest where am I suppose to put this in fsuipc.ini

yeah i don't think it's that simple i tried putting it different places, well bottom line does nothing only edits .ini file saying line ignored error.. something like that

 

Link to comment
Share on other sites

 

so, I kind of figured out how to assign this to match my hardware regardless none of it work, the button assignments at pos 18+19 i just wrote manually could not find them anywhere, but they do correspond to correct joystick "G" and available buttons 5 and 4 on my joystick, position 17 actually is selectable from the list.

image.thumb.png.3991a0597a94bc6dce850a992348af75.png

fs2.png

 

fs3.png

Link to comment
Share on other sites

You should not manually edit the ini and copy other peoples entries if you do nor fully understand what you are doing!

First, make sure that you are using the latest release, 7.3.9, and if not please update.

You can assign to the preset PMDG_B737-7_HGS_HUD_UP_DOWN_SWITCH as that exists in the events.txt file (provided by MobiFlight - see https://hubhop.mobiflight.com/presets/ for a list and search interface for presets).

The other two presets that you tried to manually add, PMDG_PED_HGS_down and PMDG_PED_HGS_up, do not exist. You need to define them in a myevents.txt file before you can use them. You will need to add them to this file as:
 

PMDG_PED_HGS_down#<x> (>K:ROTOR_BRAKE)
PMDG_PED_HGS_up#<y> (>K:ROTOR_BRAKE)

 replacing <x> and <y> with the correct parameters for the Rotor Brake control that you see logged (one will be 97904 I guess, don't know about the other). Or ask the person that supplied them for the definitions of these presets and add them. They should really be submitted to MobiFlight for addition and be shared with the community.

I suggest you read the section on presets in the Advanced User guide in the WASM section (in fact, better to read the entire WASM section!).

Any further issues, please attach your FSUIPC7.log and FSUIPC7.ini files, not pictures.

John

 

Link to comment
Share on other sites

yes I did update.. assigned to the preset PMDG_B737-7_HGS_HUD_UP_DOWN_SWITCH to yoke button and it does nothing.. i could not get anymore info on how to get it to work, as for the other 2 presets yeah nothing no values to assign to x or y.. someone says it works using AAO.. whatever that is .. I guess it must be a secret. 

am i suppose to use some other program along FSUIP when I use this preset ?

Link to comment
Share on other sites

4 hours ago, AndyCYXU said:

as for the other 2 presets yeah nothing no values to assign to x or y.. someone says it works using AAO.. whatever that is .. I guess it must be a secret. 

It is no secret...just perform the operations in the VC with event logging activated, as you did before, and you should see the control and parameter logged, then use those.

4 hours ago, AndyCYXU said:

assigned to the preset PMDG_B737-7_HGS_HUD_UP_DOWN_SWITCH to yoke button and it does nothing.. i could not get anymore info on how to get it to work

I cannot help you with this if you do not show me your FSUIPC7.log and FSUIPC7.ini files, the former with logging for Buttons & Keys as well as Events activated.

4 hours ago, AndyCYXU said:

am i suppose to use some other program along FSUIP when I use this preset ?

You need the FSUIPC WASM module installed and the WAPI enabled, but that should already be the case, but your log files would tell me....

John

Link to comment
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
×
×
  • 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.