Jump to content
The simFlight Network Forums

Recommended Posts

Posted

But it can’t be that hard to unserstand for you? I don’t know if you misunderstand or if you don’t read it but I have posted ALL the steps I do above, also, I have posted the .log file. So I don’t understand why you don’t understand! Please, just take a minute and read what I wrote above and maybe you can help me😉

Posted
8 hours ago, Philipljung said:

Don’t bother about this, I just couldn’t find out how to remove it😂

I HAVE NOT IGNORED ANY OF YOUR ADVICES! I HAVE TRIED THEM ALL! SO PLEASE STOP SAYING THAT I AM IGNORING YOUR ADVICES BECAUSE THAT IS CLEARLY WRONG.

If this explanation is not detailed enough, then you have to tell me what information you are missing!

Okay, I’m gonna save you some time on this one because I know I have been a real pain in the ĀSS and a costumer taking up all of your free time, I am really sorry about that.  But please don’t give up on me because of that. If you listen to what I am saying about telling me what information you are missing, I can provide you with that information! If this explanation is not detailed enough, you HAVE to tell me what you are missing. So if you read this and tell me what info I am missing on this explanation I will be happy to tell you. ( I wrote it further down)

Windows 10 64 bit

fsuipc version 4.974 I believe.

 steam edition

The reason to all this is: I want to make a homecockpit (Pmdg 738ngx)I have bought the saitek switch panel and for that I need Linda to connect with fsuipc (another problem). But anyway, the reason why I want to make keys set to the fsx overhead is because I want to make an overhead panel using a keyboard irl. So it really bothers me that using Pmdg premade mouse macros doesn’t work either, I have spent so much time thinking this trough and now I only have fsuipc standing in the way, when I get that to work I will be able to make my cockpit. So here is my problems and steps:

pmdg premade mouse macros (your advice, I DID NOT IGNORE YOUR ADVICE!)

1. I select Pmdg 737 and load up my flight.

2. When I am in my cockpit I click on addons on the top

3. Then I click fsuipc and now I am in the fsuipc menu.

4. From the fsuipc menu I click key presses, now I see the fsuipc key presses menu divided into two columns.

5. I click profile precific.

6. I click “set” in the left column

7. I press the letter “q” on my keyboard

8. I click on the bar right under, and I scroll down to where it says “apu-start” or something like that

9. I click confirm

10. I click okay

11. I spawn back in my cockpit

12. I am clicking the letter “q” 

13. I look up to my overhead panel and I press q once more

14. Nothing happens

15. Why and how to fix!?

Have a great night and I hope to talk to you tomorrow.

Philip

Posted
8 hours ago, Philipljung said:

I DID NOT IGNORE YOUR ADVICE!)

Well, you have so far for certain. I think you are still talking about Mouse Macros when I strongly advised using the facilities PMDG supplied for everything you might want to do, instead.

But:

8 hours ago, Philipljung said:

4. From the fsuipc menu I click key presses, now I see the fsuipc key presses menu divided into two columns.

5. I click profile precific.

6. I click “set” in the left column

7. I press the letter “q” on my keyboard

8. I click on the bar right under, and I scroll down to where it says “apu-start” or something like that

9. I click confirm

10. I click okay

Well, that's a bit better. But rather than "apu-start" of something like that" I need you to say EXACTLY what it was assigned to.

Tell you what, don't bother telling me anything. Just show me your settings -- the FSUIPC4.INI file (or in your case the FSUIPC file described as Configuration settings. I will see what you have assigned and to what.

If it's addressing a macro file, show me that as well.  It will have the name XXXX.mcro where XXXX is whatever you called it when you started making macros.

For your attempt to use the PMDG controls, I do need you to tell me exactly what yuou did -- what <custom control> you assigned and how you derived that number.

Also, use the Logging facilities to see if your assignments actually send what you thought. Enable Key/Button logging, and also Event logging, in the Logging tab.

Meanwhile, did you bother to look through the User Contributions to see if there was anything useful there? If so, how is it you didn't find this one?


which is rather old, I know -- and maybe you have a later version of the 737NGX (?), in which case these would need re-making, but there are certainly a whole list of Overhead mouse Macros there. Worth a try, and also an example of what to do. [Note: please read through that whole thread. Apparently PMDG issued a HOTFIX soon after those mactos were made, which rendered them useless. (This will be because the numbers in the macros are actually memory addresses, and they change when the DLL being accessed is recompiled -- another reason it is much better to use the PMDG controls instead).]

I shouldn't really have to go and look for you when I did advise you to check. And you say you follow my advice? Hmm.

Oh, I re-titled this thread to make it more meaningful, and possibly attract other users who are actually using the PMDG 737NGX (unlke me). Next time you post a question on a subject, it would be a good idea to make the title more related to what you actually want to do. Okay?

Pete

 

Posted

Here is my fsuipc.ini file.

57 minutes ago, Pete Dowson said:

For your attempt to use the PMDG controls, I do need you to tell me exactly what yuou did -- what <custom control> you assigned and how you derived that number

Okay, i am going to do it and write down every little thing i do

1. now i am in the microsoft flight simulator steam edition loading screen

2. now i am in the sim and click free flight

3. i press change on currenct aircraft

4. it is loading a bit

5. i scroll down to where it says Boeing 737-800 NGX norwegian livery

6. i go to choose airport

7. i type ENGM and clicks gate 14

8. i click FLY NOW

9. it is loading

10. i spawn in my airplane

11. initialising all systems

12. i click Add-ons

13. i click fsuipc

14. i click key presses

15. i click profile specific and suddenly on the top next to where it says FSUIPC options and settings it says - AAAAAAAAAAAAAAAAAAAAAAAAB (name of my profile specific)

16. I go to the left column where it says program keyboard controls here 

17. i press SET

18. i press q

19. i go to where it says control sent when key is pressed

20. i scroll down and click APU OFF SWITCH

21. then i just click confirm

22. i click ok

23. i spawn back in my cockpit

24. i look up to the overhead panel 

25. i click on the apu on switch

26. i try pressing Q but the apu switch is not retracting

I              I didnt understand what you mean by deriving the number, please explain?

V

1 hour ago, Pete Dowson said:

and how you derived that number.

[General]
UpdatedByVersion=4974
History=44ECDINW1VUXQHLQ8PI3F
AxesWrongRange=No
TCASid=Flight
TCASrange=40,3
AxisCalibration=No
DirectAxesToCalibs=No
ShowMultilineWindow=Yes
SuppressSingleline=No
SuppressMultilineFS=No
AxisIntercepts=No
DontResetAxes=No
ThreadAffinityMask=x0
LuaAffinityMask=x0
InitDelay=0
GetNearestAirports=Yes
LogOptionProtect=Yes
OOMcheck=Yes
OOMcheckInterval=10
TimeForLuaClosing=2
WeatherReadFactor=2
WeatherRewriteSeconds=1
CustomWeatherModify=No
SimConnectStallTime=1
LuaRerunDelay=66
ProvideAIdata=Yes
ProvideAIairports=Yes
Console=No
InitDelayDevicesToo=No
Annotate=Yes
NewInterceptTextMenu=No
UseSystemTime=No
UseMidMouseBtn=No
MouseWheelMove=No
MouseWheelTrim=No
MouseWheelTrimSpeed=1
JoystickTimeout=20
PollGFTQ6=Yes
BlankDisplays=No
FixControlAccel=No
FixMachSpeedBug=No
NewDeleteVehiclesForAES=No
AutoScanDevices=Yes
VisibilityOptions=No
OneCloudLayer=No
CloudTurbulence=No
CloudIcing=No
GenerateCirrus=No
SuppressCloudTurbulence=No
MaxIce=3
MinIce=-1
UpperWindGusts=No
SuppressWindTurbulence=No
SuppressWindVariance=No
WindTurbulence=No
TurbulenceRate=1.0,5.0
TurbulenceDivisor=20,20,40,40
SuppressAllGusts=No
MaxSurfaceWind=0
WindLimitLevel=200
WindDiscardLevel=400
WindAjustAltitude=No
WindAjustAltitudeBy=2000
SmoothBySimTime=No
WindSmoothing=No
WindSmoothness=2
WindSmoothAirborneOnly=Yes
PressureSmoothness=0
TemperatureSmoothness=0
DisconnTrimForAP=No
ZeroElevForAPAlt=No
ThrottleSyncAll=No
WhiteMessages=No
ShowPMcontrols=No
SpoilerIncrement=512
MagicBattery=No
RudderSpikeRemoval=No
ElevatorSpikeRemoval=No
AileronSpikeRemoval=No
ReversedElevatorTrim=No
ClockSync=No
ClockSyncMins=5
ClearWeatherDynamics=No
OwnWeatherChanges=No
TimeForSelect=4
LoadFlightMenu=No
LoadPlanMenu=No
PauseAfterCrash=No
BrakeReleaseThreshold=75
SaveDataWithFlights=No
ZapSound=firework
ShortAircraftNameOk=Substring
UseProfiles=Yes
EnableMouseLook=No
DelayedMouseLookZoom=No
WideLuaGlobals=Yes
FSVersionUsed="Microsoft Flight Simulator X",10.0.62615.0
SimConnectUsed=10.0.62615.0

[WideServer]
WideFSenabled=Yes

[Traffic Limiter]
AirportPreference=50
PlannedAirportsPreference=50
GroundPreference=50
NearerPreference=50
TargetFrameRate=0
TrafficLimit=0


[VRInsight]
1=COM3

[JoyNames]
AutoAssignLetters=No

[Axes]
PollInterval=10
RangeRepeatRate=10

[MacroFiles]
1=aaaaaa
2=Aaaaaaaaaaaaaaaa
3=b738
4=SA
5=sdaddasdadsd
6=test

[Buttons]
PollInterval=25
ButtonRepeat=20,10

[AutoSave]
Next=1
Interval=60
Files=10
SaveOnGround=No
AutoSaveEnabled=No

[GPSout]
GPSoutEnabled=No

[GPSout2]
GPSoutEnabled=No

[Sounds]
Path=C:\Program Files (x86)\Steam\steamapps\common\FSX\Sound\
Device1=Primær lyddriver
Device2=KG251Q-8 (NVIDIA High Definition Audio)
Device3=Høyttalere (High Definition Audio-enhet)
Device4=Digital lyd (S/PDIF) (High Definition Audio-enhet)

[Profile.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB]
1=Boeing 737-86NNGX Norwegian Air Shuttle Winglets

[JoystickCalibration]
AllowSuppressForPFCquad=Yes
ExcludeThrottleSet=Yes
ExcludeMixtureSet=Yes
ExcludePropPitchSet=Yes
SepRevsJetsOnly=No
ApplyHeloTrim=No
UseAxisControlsForNRZ=No
FlapsSetControl=0
FlapDetents=No
ReverserControl=66292
Reverser1Control=66422
Reverser2Control=66425
Reverser3Control=66428
Reverser4Control=66431
MaxThrottleForReverser=256
AileronTrimControl=66731
RudderTrimControl=66732
CowlFlaps1Control=66162
CowlFlaps2Control=66163
CowlFlaps3Control=66164
CowlFlaps4Control=66165
SteeringTillerControl=0
MaxSteerSpeed=60

[Keys.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB]
2=81,8,M1:1,0     -{Q: Press=Macro aaaaaa: taxiliht }-
5=71,8,65571,0     -{G: Press=ANTI_ICE_TOGGLE }-
7=88,8,65581,0     -{X: Press=FREQUENCY_SWAP }-
9=74,8,66340,0     -{J: Press=TOGGLE_ELECT_FUEL_PUMP1 }-
11=84,8,66705,0     -{T: Press=APU_OFF_SWITCH }-

[Keys]
2=77,8,66595,0     -{M: Press=CROSS_FEED_OPEN }-
4=189,8,65979,0     -{-_key: Press=THROTTLE4_INCR }-
6=70,8,66052,0     -{F: Press=STROBES_ON }-
 

Posted
11 hours ago, Philipljung said:

I have posted ALL the steps I do above, also, I have posted the .log file. So I don’t understand why you don’t understand!

I understand all right, but I need the actual detail -- especially the NAMES of the controls you are assigning to! That's the most important thing of all! That is what should be activating. Last time you said " where it says “apu-start” or something like that" which is imprecise and useless, and it is even missing the macro file name!

I see you've been more precise later on and I'll get to that.

2 hours ago, Philipljung said:

15. i click profile specific and suddenly on the top next to where it says FSUIPC options and settings it says - AAAAAAAAAAAAAAAAAAAAAAAAB (name of my profile specific)

Why on Earth call it by such a weird name? Does your A key stick, like apparently you mouse button?

First, why are you using Profiles? Are you planning on having several aircraft each with different assignments and calibrations. If so, that's fine -- but why not a sensible name, like "737NGX"?

2 hours ago, Philipljung said:

i scroll down and click APU OFF SWITCH

That is NOT a control leading to a macro file! Haven't you referred to the documentation before ploughing ahead and trying to use macros?  Macro assignments nee the macro file name then a : then the name of the macro inside that file. For example, these are your weird macro filenames:

2 hours ago, Philipljung said:

[MacroFiles]
1=aaaaaa
2=Aaaaaaaaaaaaaaaa
3=b738
4=SA
5=sdaddasdadsd
6=test

So, you have two usefully named ones (b738 and test), 4 silly named ones, two using your sticky A key.

If the b738.mcro file (which you didn't show me even though I asked you to show the the macro file you are using) contains, say, a "taxi" macro, then the assignment dropdown list would contain "b738:taxi", and that is what you'd assign to! Please do refer to the documentation provided!

Moving on to the assignments you have actually made for your AAAAAAAAAAAA ... profile (!)

2 hours ago, Philipljung said:

Keys.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB]
2=81,8,M1:1,0     -{Q: Press=Macro aaaaaa: taxiliht }-
5=71,8,65571,0     -{G: Press=ANTI_ICE_TOGGLE }-
7=88,8,65581,0     -{X: Press=FREQUENCY_SWAP }-
9=74,8,66340,0     -{J: Press=TOGGLE_ELECT_FUEL_PUMP1 }-
11=84,8,66705,0     -{T: Press=APU_OFF_SWITCH }-

Only one of those is related to any macro file, -- Q to "aaaaaa:taxiliht'. The others are all default FSX-SE controls, which probably don't work at all on the PMDG aircraft (an exception being FREQUENCY SWAP which may do as I think PMDG use the default radios).

So I would need to see the macro file aaaaaa.mcro.

If it contains a part "RX3f000*Xffcc,23" then I suggest trying it with the ,23 deleted. Mostly that part should be omitted -- your sticky mousse button probably stopped that. But as the documentation states, you do sometimes have to experiment with that parameter. If you look at the macros in that User Contributions thread you'll see most are without that parameter, but some have 31. I think those switches are actually dials, and one variety turns them one way, and the other the other way -- maybe left and right mouse buttons?

2 hours ago, Philipljung said:

I didnt understand what you mean by deriving the number, please explain?

Earlier you said:

"I tried the pmdg controls, no success either. If I for example set the letter q to taxi light (pre made by pmdg), when I go into my cockpit and press q, nothing happens"

Oh, yes: what do you mean by "pre made by pmdg'?

Apart from that odd part, the PMDG controls are "custom controls". You can't assign by name, but by number. You obviously didn't read my advice there at all -- I said:

You should know that, whilst many folks have successfully used Mouse Macros on PMDG aircraft, the Boeing range does have a full set of assignable "custom controls". These are listed in a file in the SDK folder of your PMDG aircraft, at the end of the one with filetype ".h" (sorry, I don't remember the name itself -- I don't use PMDG aircraft).

then, later:

AND more reliably using the controls supplied by PMDG themselves, as just mentioned.

Note that to use their controls you need to compute a control number (just adding two values, in fact). Then you can assign in the FSUIPC drop-down assignments list to <custom control> and enter that number, and any parameter it may need.

and later again:

I really would recommend using the PMDG contorls rather than mouse Macros, as they are much more reliable and easier to program once you work out how to get the numbers. I can help with that.

But all to no avainl. Youappear to have skipped over all this and NOT taken my advice. 😞

And did you even bother to go and read that thread in the User Contributions, which I found for you? You only had to click the link.

You keep saying you are taking advice, you are giving details, but as you can see, you simply aren't paying attention. I feel I'm really wasting my time trying to help.:-(

Pete

 

Posted

I dont realt understsnd all you are saying. Where do I get that number you are talking about from? Premade by pmdg means pmdg controls(your advice). Okay, but where do I find these custom controls? When you are saying numbers, are you talking about (in this case) q? If you just tell me exactly what to do. Yes I read the user contributions. The reason why I called it aaaaaaaaa is because I wanted it to appear on the top when I try to assign mouse macros (I am no longer trying to do that). I think I am misunderstanding something because you are talking about stuff I have no idea what is. I don’t know if you understood, but I don’t want to make mouse macros anymore, I want to do so if I press a button on my keyboard, it happens in the sim, reason being I am going to make a home cockpit. Can you please say all of the steps you want me to do?

1. Xxxxx xxxxxx xxxxx xxxx

2. .....  and so on

i really just want to make an overhead with my keyboard and I don’t think it should be that hard. So please be a bit more detailed. I don’t 

21 minutes ago, Pete Dowson said:

That is NOT a control leading to a macro file! Haven't you referred to the documentation before ploughing ahead and trying to use macros?  Macro assignments nee the macro file name then a : then the name of the macro inside that file. For example, these are your weird macro filenames:

Can you please explain what you mean by this? You said that I am NOT going to make macro assignments. How does this work and no I haven’t read the documentation, I don’t even know where it is!

I don’t want to bother anymore but the thing is that I need this done and you seem to not tell me what to do. So please just try to explain a bit more precise and easier.

Philip

Posted
23 minutes ago, Pete Dowson said:

Only one of those is related to any macro file, -- Q to "aaaaaa:taxiliht'.

You are talking about this, but that function doesn’t actually refer to anything, and that is my made mouse macro that doesn’t work.

Posted

The control numbers are listed in the PMDG SDK. Look in the following folder under your main FSX install folder:

\PMDG\PMDG 737 NGX\SDK

e.g. on a typical Steam install it's in:

C:\SteamLibrary\steamapps\common\FSX\PMDG\PMDG 737 NGX\SDK

The file you need is PMDG_NGX_SDK.h. You can open this with Notepad or any other text editor.

This document lists all the controls starting at line 580 (search for "// Control Events")

Each event controls a switch. To calculate the control number you add the value of THIRD_PARTY_EVENT_ID_MIN (69632) to the control offset given in the file.

for example:

  

  EVT_OH_ELEC_BATTERY_SWITCH                (THIRD_PARTY_EVENT_ID_MIN + 1)

To use the battery switch the CONTROL NUMBER will be 69632 + 1 = 69633

You also need a PARAMETER NUMBER. For PMDG this is usually the mouse button you want to simulate when you press your key.

For the left mouse button the parameter will be 536870912

For the right mouse button the parameter will be 2147483648

 

When you assign your key, you need to select "<Custom Control>" from the dropdown (near the top). Not one of the listed controls. These mostly do not work on PMDG.

A popup will appear asking for the control number. Enter the control number you calculated above.

Then in the parameter box (below the dropdown), enter one of the mouse button numbers above.

Press [confirm] and your key should now work.

Paul

Posted
52 minutes ago, Philipljung said:

Where do I get that number you are talking about from? Premade by pmdg means pmdg controls(your advice). Okay, but where do I find these custom controls?

As I said twice now, and I'll say again These are listed in a file in the SDK folder of your PMDG aircraft, at the end of the one with filetype ".h" (sorry, I don't remember the name itself -- I don't use PMDG aircraft).

 

Quote

If you just tell me exactly what to do

Go find that file first! Then look at it in an editor. There's a long list of data then, at the end, a long list of controls. Find the one with the name matching what you want to do.

I'm sorry, but I do not have the aircraft installed. I cannot give you explicit instructions -- you should really go to the PMDG forum for that, it is their aircraft and their SDK and file, after all!

Once you have the number, then you assign it by selecting <custom control> in the dtop down. There will then be a place for the number.

52 minutes ago, Philipljung said:

The reason why I called it aaaaaaaaa is because I wanted it to appear on the top when I try to assign mouse macros

Why bother? When the dropdown appears just start typing what you want. For instance if you type x the list will move to the start of the x's. This is normal Windows behaviour for ordered lists like that. Works in Windows explorer too if you sort by filename by clicking the top of that column.

And anyway, why so many A's. Wouldn't just one or two do, max?

52 minutes ago, Philipljung said:

i really just want to make an overhead with my keyboard and I don’t think it should be that hard. So please be a bit more detailed.

If you read more carefully I'm trying to guide you to the rihght places. I cannot tell you more exactly what to do for an aircraft I don't have!

52 minutes ago, Philipljung said:

Can you please explain what you mean by this? You said that I am NOT going to make macro assignments.

Oh dear. You were telling me how you were assigning to the mouse macro you created, but then you said you selected a switch by the name APU ... which isn't a macro name and is not supported by the PMDG aircraft in any case!

I didn't say you are not going to make macro assignments! Stop putting words in my mouth which I am not using. I have been try to help you do things. I am NOT telling you to do anythig. You please yourself. I am only trying to give advice which you then ignore whilst denying that you are ignoring it.

50 minutes ago, Philipljung said:
1 hour ago, Pete Dowson said:

Only one of those is related to any macro file, -- Q to "aaaaaa:taxiliht'.

You are talking about this, but that function doesn’t actually refer to anything, and that is my made mouse macro that doesn’t work.

What are you talking about? The function refers to a macro in the macro file aaaaaa.mcro, the one which I suggested be edited to make it work! you can't have anything in the list that doesn't refer to anything! That's nonsense! 

52 minutes ago, Philipljung said:

no I haven’t read the documentation, I don’t even know where it is!

You didn't even read the Installation and Registration guide which was included in the ZIP for for the install package? That clearly tells you where the documentation is!

Sorry, I am not replying to you again until you have at least referred to the appropriate parts of the documentation. I would recommend reading it all once, then just using it for reference.

This forum is NOT a substitute for the supplied documentation!

Pete

 

Posted
13 minutes ago, Paul Henty said:

The control numbers are listed in the PMDG SDK. Look in the following folder under your main FSX install folder:

Thanks Paul! I hoped someone who's actually got the 737NGX would chip in. That's why I changed the thread title!

Pete

 

Posted
1 minute ago, Philipljung said:

No need, I did it. Thank you so much both of you. It works like butter! Thank you! Have a nice day and a nice life!!😂👍👍👍👍 

Good.

Now please remember two things:

1. Find and read the documentation

2. Title any further questions here with words which explain the real subject, so you attract the right help.

Next time I see a post from you, I will first ask "have you read the documentation yet". If you still say no or you can't find it, I shall not respond further.

Pete

 

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.