If you do turn on and off, it is better to use an external switch, because the mechanics of the switch can wear out or break.

I always keep my keyboard switch on and turn on and off externally.

Beakybird