This only worked correctly for aircrafts with flaps up to 30 degrees. Furthermore in my opinion if needed this should be included for all joysticks/controls as a general solution and not for a single setup.
thanks to him, 'flug' and the forum (also removed a debug line from route-manger GUI)