Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hey Hey,

I'm having a little problem over here. P3Dv4 & FSUIPC6. When I press key combination assigned to a mouse macro function (i.e. ctrl+z for AP disengage button), the button presses in, but it doesn't come back out. I have to click it with my mouse and only than it comes back to normal position. Am I doing something wrong in settings? I'm attaching link to video I captured showing the problem https://www.youtube.com/watch?v=wmZ2piDR0zI

Regards

 

Posted
  On 3/30/2021 at 4:13 PM, Piotrek201 said:

When I press key combination assigned to a mouse macro function (i.e. ctrl+z for AP disengage button), the button presses in, but it doesn't come back out. I have to click it with my mouse and only than it comes back to normal position.

Expand  

You most likely need to add a mouse button release code. Can you show me your macro file please.

Posted
  On 3/31/2021 at 12:03 PM, Piotrek201 said:

Now all the macro isn't working. All the switches are changed. I.e. something that used to be eng 1 cutoff now serves as RTE DATA button 

Expand  

I don't understand that! All that I changed in your macro file was this line:
    5=AP Disc=RX4000018d,3
to
  5=AP Disc
  5.1=RX4000018d,3
  5.2=RX4000018d,13
i.e. I added a left button mouse release to your AP Disc mouse macro. This cannot/should not affect your other macros....

Please check that nothing else has changed, then activate logging for events (non axis controls) and buttons & switches, and generate a log file when you try to activate your your mouse macros. Then show me that log file together with your ini file.

 

Posted

I'ce created a whole new macro for 757 and made the same change as you did.

My macro looks now like this:

[Macros]
1=AP Disengage
1.1=RX4000001d,3
1.2=RX4000001d,13
 

And again the same happend - when I press the combination the button doesn't even click. Just like it's not that button. After your edit, macro for AP disengage button on yoke became WX Radar switch. After my edit I can't even say what button have it bacame now

Posted
  On 3/31/2021 at 6:02 PM, Piotrek201 said:

I'ce created a whole new macro for 757 and made the same change as you did.

Expand  

You are confusing me now. Was this before or after you said the macro wasn't working? Can you please just follow my instructions and report back.

I cannot help you if you are not showing me the information I need:

  On 3/31/2021 at 5:32 PM, John Dowson said:

activate logging for events (non axis controls) and buttons & switches, and generate a log file when you try to activate your your mouse macros. Then show me that log file together with your ini file.

Expand  

Also, please check if anything else has changed. If you go back to your original macro and configuration, does that still work?

Posted
  On 3/31/2021 at 6:06 PM, John Dowson said:

Was this before or after you said the macro wasn't working?

Expand  

After the macro taht you've sent me didn't work (all actions were changed) I've simply deleted it and created a brand new one and edited it in the same way you did. Again all action were totally mixed up.

  On 3/31/2021 at 6:06 PM, John Dowson said:

Also, please check if anything else has changed. If you go back to your original macro and configuration, does that still work?

Expand  

After reverting back to how the macro file looked before (1=AP Disengage=RX4000001d,3) making the changes, macro works as it worked at the beggining - it's mapped to the right cockpit button.

Also I attatch 2 log files. One is made when macro is without any changes (button doesn't come back) and one is with macro edited the way you showed before.

FSUIPC6 after edit.logFetching info...

Posted

I still need to see your FSUIPC6.ini file...I cannot help you if you do not show me this. I need to see your FSUIPC6.ini file with each log file - please remember this. 

Are you assigning a button to a key press, and then that key press to a mouse action? Seems a very strange thing to do - why don't you just assign your button to the mouse macro?

Your 'after edit' log shows the single mouse click:
   493547 [Buttons] 2=P2,1,K90,10
   493547 SendKeyToFS(0002005A=[ctl+Z], KEYDOWN) ctr=0
   493547 Sending WM_KEYDOWN, Key=17 (Control) (Scan code 29), Ctr=2
   493563 Sending WM_KEYDOWN, Key=90 (Scan code 44), Ctr=1
   493594 *** EVENT: Cntrl= 65708 (0x000100ac), Param= 78928 (0x00013450) NAV1_RADIO_SET
   493594 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2
   493594 .. Key not programmed -- passed on to FS
   493594 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=2
   493594 Macro: mouse action OK: Rect X4000001d, Action 3 (LeftSingle)

and your 'before edit' log shows the release was added:
  1148609 [Buttons] 2=P2,1,K90,10
  ...
  1149734 KEYDOWN: VK=17, Waiting=0, Repeat=N, Shifts=2
  1149734 .. Key not programmed -- passed on to FS
  ...
  1150109 KEYDOWN: VK=90, Waiting=0, Repeat=N, Shifts=2
  1150109 Macro: mouse action OK: Rect X4000001d, Action 3 (LeftSingle)
  1150109 Macro: mouse action OK: Rect X4000001d, Action 13 (LeftRelease)
 

  On 3/31/2021 at 6:25 PM, Piotrek201 said:

After reverting back to how the macro file looked before (1=AP Disengage=RX4000001d,3) making the changes, macro works as it worked at the beggining - it's mapped to the right cockpit button.

Expand  

But that is not the original macro you showed me! That was:

  Quote

[Macros]
1=ENG 1 Idle=RX40000224,3
2=ENG 1 Cutoff=RX40000224,3
3=ENG 2 Idle=RX40000225,3
4=ENG 2 Cutoff=RX40000225,3
5=AP Disc=RX4000018d,3
6=A/T Disc=RX4000022b,3
7=TOGA=RX4000022a,3

Expand  

So, I am confused as to what you are telling me and what you are showing me.

I would like you to go back to your original macro and show me a log file with that working, and also the macro file AND your FSUIPC6.ini file.

Then, make the changes I suggested, repeat the test, and then show me those same three files.

All I suggested to you was to add a mouse release code to a macro. In no way should this affect anything but the macro you have altered. You seem to be changing too many things. Please follow my instructions if you would like me to help you.

Also, please see the Advanced User guide to try to understand what I suggested: see P37 (Multiple actions in one macro control) and the mouse flags on P38.
Sometimes, with mouse macros, you have to play around with the mouse flags (and use multiple actons) to get them working correctly.

Posted
  On 3/31/2021 at 7:03 PM, John Dowson said:

Are you assigning a button to a key press, and then that key press to a mouse action? Seems a very strange thing to do - why don't you just assign your button to the mouse macro?

Expand  

Yes I do it this way (mostly because in planes like PMDG i only use buttons and switches + key assigment to function in plane's FMC). Although I tried assigning button directly to macro action - effect was still the same. 

  On 3/31/2021 at 7:03 PM, John Dowson said:

But that is not the original macro you showed me! That was:

So, I am confused as to what you are telling me and what you are showing me.

Expand  

Yes Sir, it's not. That's because I've deleted it and created a new one, that contains only this single action, that's why it looks different then the first one, but the action is still the same button. I'll than revert to the very first macro I've showed you. 

  On 3/31/2021 at 7:03 PM, John Dowson said:

You seem to be changing too many things. Please follow my instructions if you would like me to help you.

Expand  

I've only changed one thing - Added two separate actions to the function - LeftSingle and LeftRelease.

Below I'm attatching my .ini, .log of very first macro before you edited it, .log of macro after you edited it, and the macro file that I used at first

CS B757 original macro.MCROFetching info... CS B757 your edited macro.MCROFetching info... FSUIPC6 log with your edited macro.logFetching info... FSUIPC6 original macro.logFetching info... FSUIPC6.iniFetching info...

Posted

Your ini file has two [MacroFiles] sections! How did this happen? This section is automatically generated and should not be manually edited...

And the macro files have different index numbers in each section, so it is difficult to determine which macro file will actually be used.

You need to remove one of those [MacroFile] sections, and then review your assignments to the macro files and make sure that they have the correct index (for the macro files they are using). Remove the one with the least number of entries.

Once that has been done, please  re-test.

 

 

Posted
  On 4/1/2021 at 8:04 AM, John Dowson said:

Your ini file has two [MacroFiles] sections! How did this happen?

 

 

Expand  

That's probably a leftover after a prevous 757 macro I had some time ago

  On 4/1/2021 at 8:04 AM, John Dowson said:

Once that has been done, please  re-test.

 

 

Expand  

No difference after deleting the section you've said to delete. 

And one more thing I have to mention, 757 isn't the only plane with macro created that has this problem. Exactly the same thing occures with other planes i.e. JustFlight's BAe 146. It's the same situation as the 757. None of the button comes back. And with the 757 it's not only AP button issue, but also A/T Disc button on throttle handles or TOGA switches on throttle levers 

Posted
  On 4/1/2021 at 9:36 AM, Piotrek201 said:

And one more thing I have to mention, 757 isn't the only plane with macro created that has this problem. Exactly the same thing occures with other planes i.e. JustFlight's BAe 146. It's the same situation as the 757. None of the button comes back. And with the 757 it's not only AP button issue, but also A/T Disc button on throttle handles or TOGA switches on throttle levers 

Expand  

I really don't understand this.... Are you saying that changing a macro used in one aircraft affects the way a different macro works in another aircraft? That really isn't possible.... And are you also saying that everything was working except for the issue you mentioned (button staying pushed-in) but with that minor change to one macro on one macro file, this stops all your macros working in that file and also other macros in different files used by different aircraft?

 

Posted
  On 4/1/2021 at 9:47 AM, John Dowson said:

I really don't understand this.... Are you saying that changing a macro used in one aircraft affects the way a different macro works in another aircraft?

 

Expand  

No, I'm saying that 757 isn't the only aircraft where the button not coming back problem occurs. Making changes with 757 doesn't affects i.e. JF's BAe, although I just wanted you to know, that my initial problem (of a button beeing stuck in) was occuring in different planes, with differen macros.

Right now I'm making a log for you 

 

 

Posted

Right, um... The method of "If you can't repair it get a new one" worked. I guess my .ini was too messed up to handle it. After clean reinstall of the whole FSUIPC along with creating new .ini and new .mcro solved problem. I really appericiate your time and will to help John! Thank you a lot 😄 P.S. with clean ini and mcro, adding:

 1=AP Disc
1.1=RX4000001d,3
1.2=RX4000001d,13

did it's job. Everything works!

Cheers!

Posted
  On 4/1/2021 at 10:06 AM, Piotrek201 said:

Here you go.

Expand  

Was this test with your original or updated macro? Either way, it is now showing an error:

  Quote

234532 Macro: mouse action Failed: Rect X40000087, Action 1 (RightSingle)

Expand  

And why is this now a right single click? And the rectangle ID (X40000087) is different from what was previously used (X4000018d) so it again looks like something else has changed....Have you changed the macro file again? I need to see your files each time they have changed otherwise I have no idea what is going on....

Also, I can see that you have various 757s assigned to the profile:

  Quote

[Profile.B757]
1=CS 757-251 Northwest Airlines 2006
2=757-200 Northwest Airlines - N535US (Bowlingshoe)
3=757-200 AMERICAN AIRLINES N702TW
4=757-200 Northwest Airlines - N545US
5=757-200 American Airlines ETOPS Winglets

Expand  

A couple of things here... First, you are better off using substring matches, so you can re-write that as:

  Quote

[Profile.B757]
1=CS 757-251
2=757-200

Expand  

But another issue is that the mouse macro rectangle IDs may change for different aircraft. They are generally the same if its just a different livery, but they may change between the 757-251 and 757-200. You need to check this and if the rectangles IDs are different, you need to create separate profiles.

Posted
  On 4/1/2021 at 10:34 AM, Piotrek201 said:

Right, um... The method of "If you can't repair it get a new one" worked. I guess my .ini was too messed up to handle it. After clean reinstall of the whole FSUIPC along with creating new .ini and new .mcro solved problem. I really appericiate your time and will to help John! Thank you a lot 😄 P.S. with clean ini and mcro, adding:

 1=AP Disc
1.1=RX4000001d,3
1.2=RX4000001d,13

did it's job. Everything works!

Expand  

Ah, ok. Glad its now working at least. Its really quite a simple change and shouldn't have caused so many issues, and I don't really understand why it did...

Posted

My theory is that te .ini was just too messed up. I was editing it manually while switching from FSUIPC5 to 6. I copy-pasted some entries from 5's .ini to 6's ini (just to skip reassigning and reconfiguring it again). I guess I just f***ed it up and here we have a result. Once again, thanks a lot for you time!

Cheers

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.