How do I get 2 players on 1 keyboard?

They each have their own IMC already, and both IMCs work correctly, but it keeps setting one of the players to use a controller when I want both on the same keyboard.