MET function (electric trim)
At last I have reworked the Electric trim and made it to work in the hardware cockpit correctly (I hope), solving the problem with the virtual trim interfered with the real trim wheel in AP mode.
Now when you use the ET switch on the yoke it's directly controls the trim with rotating wheel (that is a real input now, not simply "dummy" rotation) :
Read the page Electric Trim implementation.