Mechanically Gated Transistor