What happens if someone switches from controller to M&K during ranked game?

I’m wondering if there is some kind of mechanic that prevents people from gaming the input preference system.