Opencockpits Tiller script

This is a new forum for the OC4BAv4.
Locked
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Opencockpits Tiller script

Post by CAVENEY747 »

Has the script for the Opencockpits Tiller wheel been removed from the latest NGX
script as I can't find it?
mvr1918
Site Admin
Posts: 1709
Joined: Thu Aug 30, 2012 3:35 pm

Re: Opencockpits Tiller script

Post by mvr1918 »

Looks like you are right. Thanks for reporting.


The code is here. You just add it to you script after exporting the script you are using to txt file and recompile. Remember to make changes to Var number and Device number if necessary.

I add it in in the next update of the script.

Var 897, name tiller, Link USB_ANALOGIC, Device 36, Input 1, PosL 1, PosC 140, PosR 255
{
IF &tiller > 129
{
&tiller_offset = &tiller
}
IF &tiller < 127
{
&tiller_offset = &tiller
}
}
Var 0898, name tiller_offset, Link FSUIPC_OUT, Offset $3BC4, Length 2
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: Opencockpits Tiller script

Post by CAVENEY747 »

Thanks for the quick reply.
mvr1918
Site Admin
Posts: 1709
Joined: Thu Aug 30, 2012 3:35 pm

Re: Opencockpits Tiller script

Post by mvr1918 »

I close this topic now
Locked