@name 
@inputs Advpod:wirelink Numpad:wirelink
@outputs F:vector L:vector R:vector Aft:vector Mul 
@outputs Cen:vector Mulcen 
@outputs Right Left Foward Back Reload P2 P8 P4 P6 P7 P9 Pplus Penter
@persist ZC
Right = Advpod:number("D")
Left = Advpod:number("A")
Forward = Advpod:number("W")
Back = Advpod:number("S")
Reload = Advpod:number("R")
Space = Advpod:number("Space")
Shift = Advpod:number("Shift")
A = Advpod:number("Active")
P2 = Numpad:number("2")
P8 = Numpad:number("8")
P4 = Numpad:number("4")
P6 = Numpad:number("6")
P7 = Numpad:number("7")
P9 = Numpad:number("9")
Pplus = Numpad:number("+")
Penter = Numpad:number("Enter")
Pstar = Numpad:number("*")
Pslash = Numpad:number("/")
XL = (-Forward+Back)+A*(P4-P6)
XR = (-Forward+Back)-A*(P4-P6)
XF = (-Forward+Back)
XA = (-Forward+Back)
YL = (Right-Left)
YR = (Right-Left)
YF = (Right-Left)+A*(-P4+P6)
YA = (Right-Left)+A*(P4-P6)
ZL = (-Pplus+Penter)+A*(-P9+P7)
ZR = (-Pplus+Penter)+A*(P9-P7)
ZF = (-Pplus+Penter)-A*(-P8+P2)
ZA = (-Pplus+Penter)-A*(P8-P2)
Inc=0.1
XC=YC=0 ZC+=(Pslash*Inc)-(Pstar*Inc)
Mul=1*A+Shift*100
Mulcen=1
F=vec(XF,YF,ZF) R=vec(XR,YR,ZR) L=vec(XL,YL,ZL) Aft=vec(XA,YA,ZA)
Cen=vec(XC,YC,ZC)
