HItman 3 controller issues

Platform: PC, Digital
Location: All
Description: When playing Hitman 3, then after a few minutes, the game switches my controller settings from Keyboard/Mouse to an XBOX controller, and i’m not able to enter settings and set it back to Keyboard/Mouse. My only option is to shut down Hitman 3 and start it up again, and then it do the same thing again within a few minutes.

Any fixes or solution to this issue?