Modifying a controller to simulate button press

Another option would be to use a small hobby servo to mechanically press the switch.