Jump to content
Sign in to follow this  
Guest pscarratt

Mouse Scrolling to change frequencies, autopilot values etc

Recommended Posts

Guest pscarratt

Hi all,Since releasing my v2 panel I have had a couple of questions about using the scroll wheel to set autopilot values, radio frequencies etc.It seems my panel has this ability but it is not working correctly - considering i didn't know about this feature I am not surprised! :-SDoes anyone know the xml commands to control this?I would really like to get it fixed,Many thanks,Paul.

Share this post


Link to post
Share on other sites

Hi Paul,These are M(ouse)-Events like "Leftclick" etc. and in your case "Mouseflipwheel" or something alike.AFAIK there are several examples in the default xml gauges like throttle movement (747?)Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites
Guest pscarratt

Thanks Jan I'll take a look.

Share this post


Link to post
Share on other sites

Found this one, and more, in the DC3 (never been there!): (M:Y) (*Get Y*) 32 - 46 / 0 max 1 min 1 - /-/ 16384.0 * d (>K:MIXTURE1_SET) (>K:MIXTURE2_SET) (>K:MIXTURE1_INCR) (>K:MIXTURE2_INCR) (>K:MIXTURE1_DECR) (>K:MIXTURE2_DECR)Tested it in my autopilot and this one works too:Altitude Decrease(L:alt1000,bool) if{ (L:altitude,number) 1000 - 0 max (>L:altitude,number) } els{ (L:altitude,number) 100 - 0 max (>L:altitude,number) } (L:alt1000,bool) if{ (L:altitude,number) 1000 - 0 max (>L:altitude,number) } els{ (L:altitude,number) 100 - 0 max (>L:altitude,number) } Alt Sel 1000 (L:alt1000,bool) ! (>L:alt1000,bool) 33882112 (>K:ADF2_COMPLETE_SET)Altitude Increase(L:alt1000,bool) if{ (L:altitude,number) 1000 + 99999 min (>L:altitude,number) } els{ (L:altitude,number) 100 + 99999 min (>L:altitude,number) } (L:alt1000,bool) if{ (L:altitude,number) 1000 + 99999 min (>L:altitude,number) } els{ (L:altitude,number) 100 + 99999 min (>L:altitude,number) } Hope it helps,Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites
Guest pscarratt

Perfect - I guess if I add those mousewheel tags I will be able to fix my problems!

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...