Won’t let me use M&K without controlling being on

So usually when I start up MCC your either press start on the controller or enter on keyboard to get onto the menus but just tonight it wouldn’t let me use the keyboard it was acknowledging the enter key being pressed and when you pick a profile to start the game with it wouldn’t work again so I pressed it with my controller I then when I went to turn my controller off it was coming up that the controller needed to be reconnected to continue even though I was pressing everything with my mouse and keyboard I also restarted the game twice too see if it was just a one of bug but unfortunately not and it’s a pain every time my controller turns off I have to reconnect every time just to use the keyboard