Sign in to follow this  
phjvh

Reading hatswitch input in xml, possible?

Recommended Posts

HiIs it possible to check weather or not the pilot is looking around in virtual cockpit using a joysticks hatswitch? Something like, if hatswitch used, then start a timer... Anyone?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

It certainly seems possible using variables below:((( P: or E: type vars )))(P:ACTIVE VIEW MODE, ) VC == (P:ACTIVE VIEW DIR, ) (P:DEFAULT VIEW DIR, ) - abs 10% < & if{ start timer } Regards,Roman

Share this post


Link to post
Share on other sites

Thanks, not sure it will work though (using automatic setting for view pitch and pan), but I've never noticed these parameters before. At least it will give me something to do the next few days :)

Share this post


Link to post
Share on other sites

Hi,Tried, but didn't work sofar.Curious to see the working code. Jan"Procul Negotiis"

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