Landing gear and flaps/spoiler deploy randomly in cruise

I’m having same problem, gear retracts on final on its on, won’t stay down. spoilers extend on take off, when gear retracts camera view in cockpit goes toward floor. I have a CH Eclipse yoke and quadrant which is plugged directly into usb 3 port in PC? The only aircraft not effected is A32X with flybywire mod.