You can switch at any time InGame.
In the configuration menu is a switch that you can click for controller and k&m.