Avionics turn off and only go on if right mouse button held

I have figured out that on the airbus thrustmaster tca quadrant has the 2 red buttons activated as a master switch so i disconnected it from my pc and everything has been working fine since