Jump to content
The simFlight Network Forums

Mouse macro?


Recommended Posts

Hello,

I've started to build my home cockpit of the PAY2 - Piper Cheyenne.

Now i need to assign the switches for my hardware switches, so i want to use the FSUIPC Mouse macro's

I know how it works and have followed many tutorials but cant seem to create the macro's for the Aerosoft Digital Aviation Piper Cheyenne.

Some switches does work but the most and the most importand ones are not.

Is here somebody that knows a solution?

Kindly regards,

Rick Winkelman

Link to comment
Share on other sites

I've started to build my home cockpit of the PAY2 - Piper Cheyenne.

Now i need to assign the switches for my hardware switches, so i want to use the FSUIPC Mouse macro's

The mouse macro facility depends upon the aircraft gauges being written in C/C++ using the Microsoft gauge SDK for such. I don't know if that aircraft is old or new (or for FS9 or FSX?) but if it is quite a recent one then it is quite likely that it was not written in such a way and is therefore not amenable to mouse macro treatment.

The alternative for many recent aircraft is the use of local gauge variables (L:Vars). There is an FSUIPC control you can assign to a button or key to list those for you, and a Lua plug-in provided amongst the examples to monitor them. Using L:Var macros is often a more successful way of finding a way of controlling the switches on gauges., especially those written using XML.

But also do not overlook the standard built-in FS controls, which for standard types of gauges are still most often used. Just enable FSUIPC's event lgging, then operate the controls with the mouse and see what FS control is logged for it, if any.

Regards

Pete

Link to comment
Share on other sites

Pete,

Thank you for the fast answer.

Is there a tutorial for using the L:vars? i'm a complete nube with the more advanced functions of fsuipc;)

i shall try the default fs controls this wednesday.

It is a rather new plane indeed, so i think it should be the newer type of programming.

Kindly regards,

Rick Winkelman

Link to comment
Share on other sites

Is there a tutorial for using the L:vars? i'm a complete nube with the more advanced functions of fsuipc;)

Not a tutorial as such, but the logging and Lua plug-in I mentioned will find them for you, then putting together the macros you need is only a matter of following a format. There are plenty of other aircraft examples which should help you over in the User Contributions subform.

Regards

Pete

]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.