Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi 

I'm trying to create a mouse macro for the dodosims 206 to operate the

:Horn mute

:Direction gyro

:Annunciator test panel

I have gone to button and switches and click create macro named it, pressed ok and ok on the main fusipc window. 

In the 2d panel I click on the button and I get the macro window appear top left of screen, name the macro eg horn mute got back to fsuipc click end macro.

My Marco appears in the controls drop down box but when I assign it to a switch it doesn't work.

Cheers 

Rhys

Posted
6 hours ago, Reco said:

My Marco appears in the controls drop down box but when I assign it to a switch it doesn't work.

Presumably the mouse macro is being called? You can verify this by logging Buttons & Keys and checking the log.

If the macro is being called but is not working, it could be that  you need to manually modify/edit the mouse macro to either add a button release (the macro will have only recordeed the mouse press), or change the press to a press-and-drag and also add a release. This is similar to what I explained in this post:  

 

So try modifying the macro - if you can post/attach it here I can take a look and adjust it for you.

John

Posted

Hi John

Thanks for reply . I have included my Macro file.

Had a look at the documentation that includes a list of fsuipc commands but they relate to the p3d version as there is a .Evt File which is not in the fsx version

The following are 

Directional gyro & attitude indicator: Fsuipc Applicable custom events=  DIR_GYRO_SWITCH_TOGGLE 

Warning horn mute button:  Fsuipc Applicable custom events=  WARNING_MUTE_BUTTON_TRIGGER

Annunciator (caution lights) test button:  Fsuipc Applicable custom events=  ANNUNCIATOR_TEST_BUTTON_TRIGGER

These custom events are not in the fsuipc version for fsx or fsx se

I ran the logging event window but when I pressed on the cockpit button nothing showed up in the fsuipc log window.

 

Cheers 

 

Rhys 

 

 

Dodosim206.MCRO

Posted

Sorry but I dont understand why you ate now talking about events. I thought your issue is with nouse nacros?

Note I am on holiday now, back on Monday. In the mean time, why not try what I have advised, i.e. rather than sending a single left mouse  press, try sending both a press and release, or a press-and-drag and release.

 

 

Posted

This is your mouse macro file:

[Macros]
Module="DodoSim206.gau"
1=Warning mute=RX746f0*X55cc,23
2=DIR GYRO=RX79ee0*X55c3,23

There are two issues:
   - the line starting 'Module...' is invalid - why is that there?
   - 23 is not a valid mouse flag value. Valid values are 1-17 (see the documentation). Did you edit this file?

What mouse operation is required on these button in the VC?

If just a single left click, try:

[Macros]
1=Warning mute=RX746f0*X55cc,3
2=DIR GYRO=RX79ee0*X55c3,3

If its a press and release, try:

[Macros]
1=Warning mute
1.1=RX746f0*X55cc,3
1.2=RX746f0*X55cc,13
2=DIR GYRO
2.1=RX79ee0*X55c3,3
2.2=RX79ee0*X55c3,13

If it requires some movement, try:

[Macros]
1=Warning mute
1.1=RX746f0*X55cc,9
1.2=RX746f0*X55cc,13
2=DIR GYRO
2.1=RX79ee0*X55c3,9
2.2=RX79ee0*X55c3,13

etc

Use the mouse operations required on the switch.

John

 

Posted

Thanks John

I'm away from the sim so will try out what you have given me tomorrow.

The 23 was at the end of the RX746f0*X55cc. So didn't edit the file

I am using the 2d panel when I run the macro

I will report back tomorrow to let you know how I get on.

Thanks for your time and help 

Cheers 

Rhys 

Posted
1 hour ago, Reco said:

The 23 was at the end of the RX746f0*X55cc. So didn't edit the file

That is strange - I don't know how that could get there...
What are the mouse operations that you need? Was it a middle-single (2) click together (or followed by) with a left single click (3)?
Even then, that should be:

[Macros]
1=Warning mute
1.1=RX746f0*X55cc,2
1.2=RX746f0*X55cc,3
2=DIR GYRO
2.1=RX79ee0*X55c3,2
2.2=RX79ee0*X55c3,3

 

1 hour ago, Reco said:

I am using the 2d panel when I run the macro

 

They will only work in whatever view they were created in (otherwise the mouse-rectangle will not be available).

1 hour ago, Reco said:

I will report back tomorrow to let you know how I get on.

Ok. Cheers,

John

Posted

Hi John

I have include  images of what I get when I press the Wrn mute button and dir gyro toggle

I had a read through the documentation on Macros and when I press the tab to check if the macro is working  nothing happens. 

 

Cheers 

 

Rhys 

 

panel.jpg

panel 2.jpg

panel gyro1.jpg

panel gyro 2.jpg

Posted
15 hours ago, Reco said:

I have include  images of what I get when I press the Wrn mute button and dir gyro toggle

No point attaching images - they don't tell me anything that you have not already told me.

15 hours ago, Reco said:

I had a read through the documentation on Macros and when I press the tab to check if the macro is working  nothing happens. 

Did you try my recommendations? Maybe also leave the Module line in as it looks like this is needed (although I have never seen this before!).

I have never seen parameters 23 and 24 used before - I though these should be in the 1-17 range, as the documentation states.

But if it doesn't work, there is not much I can do about this. FSUIPC4 has been closed for further development for many years. And I don't have much experience with FSX and certainly don't have the dodosims 206, which also doesn't seem to be available anywhere either.

My PC has also now died after the latest windows (insider) update, so cannot do anything at the moment or until I have sorted this out...

Sorry I can't be of more assistance.

John

 

Posted

Just received further information: if you press tab to check and nothing happens, this means the mouse macro facility can't be used.

The whole thing about mouse macros is that it’s all a code hack, especially in FSX, and some parts of the FS code just aren’t constructed in the manner where they do work. The test offered at the creation phase is to check that, and if it doesn’t work other methods have to be used to action the function desired as mouse macros won't work.

A lot of later add-ons did not use the original library-provided methods for implementing their controls. And that is where the problems are, and there is nothing that can be done in FSUIPC to get around this

John

Posted

@Reco I see you posted over on Avsim for the dodsim *.evt used in the P3D version. Does this also work in the FSX version?
If so, maybe you could attach it here for other dodsim users who come across this post.

Cheers,

John

Posted

Hi John

Yes the .evt works with fsx. I have never used a .evt file before. It covers all the systems for the dodo 206. I will contact the person who made it available to me and ask to put it here

I would like to thank you for your time and help on this it is very much appreciated. The info you provided helps answer questions  if I come across any  similar issues in the future 

Kind regards 

Rhys

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.