what the hell is wrong

So on PC whenever i try and play the game with a controller the game seems to think i have my keyboard and controller active at the same time, bought a xbox one controller today instead of a old 360 one doesnt work still… works with everything else perfectly fine, no forza doesnt work at all just jumps between keyboard, controller, keyboard, controller ect ect ect. it worked fine when i first got the game but now nothing just utterly broken…