so this is the part of my script which makes me crazy, the goal is to assign to the BOAT SWITCH the control of the 3 layers UP MIDDLE and DOWN:
SetShiftButton(&Joystick,S3,&Throttle,BSF,BSB,UDTOGGLE);
and assign the LTB button to input a "J" in up layer, a "G" in mid layer and "B" in down layer
MapKeyUMD(&Throttle, LTB,PULSE+'j',PULSE+'g',PULSE+'b');
okay, it doesn't works! start in middle position, ok output is G, switch to forward position ok the output is J, return to middle position and.... the outpu is always J !!! switch to back position and output is B okay, switch back to middle position and output is always B !!!:(:(
It seems that the middle position is not declared, what I can do?
****EDIT: SetShiftButton(0, 0, &Throttle, BSF, BSB,0); this way it works !!!