How to use a custom controller without steam?

I have an analog keyboard and reinstalled windows to see how halo infinite plays without steam and have noticed it DOES NOT recognize my razer huntsman v2 as a controller at all and there is no option for it to discover… Through steam you have to physically enable the controller because its not a brand microsoft xbox controller and I am wondering if I have to install steam to customize the controls themselves… I have also noticed the game runs a LOT nicer with default settings without steam just through the windows store but it also runs at like 95% cpu usage even with every single option turned down when through steam it ran at around 80% cpu usage. Very weird stuff!