Character controls switches

Need some help on how to character controls switches when player change character on the fly. To help test if the monster, player, npc control right. Trying to find best to do the work right. As well the input that I really do not wanted to conflict.