Jump to content
The simFlight Network Forums

MOUSE MACRO on press wheel


Recommended Posts

Hi Pete and John,

i am trying to assign a macro with the wheel press.

In the virtual cockpit to accelerate an encoder (for example the nav1 crs of the md80 autopilot) you use the mouse wheel press and turning the wheel (parameter 14 and 15 up and down)  while maintaining the on press you have the encoder variation of 10 in 10 instead of 1 in 1.

Leafing through the guide for advanced users, however, he didn't find the on press function of the wheel.
Isn't it implemented or can't I find it?

 

thank you
Simone

Link to comment
Share on other sites

8 minutes ago, sisoffi said:

Leafing through the guide for advanced users, however, he didn't find the on press function of the wheel.
Isn't it implemented or can't I find it?

Mouse inputs are not directly assignable in FSUIPC. But you can do quite a lot of mouse action programming with a Lua plug-in. See the assorted event.mouseXXX functions in the Lua Library document, and also the Mouse library in the same document.

Pete

 

Link to comment
Share on other sites

Pete, i everytime assigned mouse macro in fsuipc without problems.

THe only thing im not find is the on press wheel on the tab :

 

part provides the actual mouse action required to operate the facility. This is encoded as a number, one of those listed below (but note that some of these will probably never be seen in relation to such regions!): 1 Right single click 2 Middle single click` 3 Left single click 4 Right double click 5 Middle double click 6 Left double click 7 Right button & drag 8 Middlebutton & drag 9 Left button & drag 10 Move 11 Right elease 12 Middle release 13 Left release 14 Wheel up 15 Wheel down 16 Leave 17 Count

 

 

there is no on press wheel?

 

Link to comment
Share on other sites

If the wheel is the middle button, then 2 would be click - 8 is middle button click and drag. You can also look into use 14, 15 and 12. 
Anyway, you've found the codes on page 33 of the User guide so just try different sequences to see if any work.

It may be easier and more reliable to use controls or lvars, if available.

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.