Xbox One Controller (wired) won't work

I have done a lot of google’ing and I can’t really find an answer to this. My xbox one controller is labeled as controller in windows 10. In the Kodi log it labels it as .

16:28:50.803 T:7288 NOTICE: PERIPHERALS::CPeripheralAddon::Register - new joystick device registered on addon->peripheral.joystick/0: Xbox 360-compatible controller

so I added altnames to the entries for the xbox one S and the 360 controller keymaps.

<joystick name="Controller (XBOX 360 For Windows)">
  <altname>Afterglow Gamepad for Xbox 360 (Controller)</altname>
  <altname>Controller (Gamepad F310)</altname>
  <altname>Controller (Gamepad for Xbox 360)</altname>
  <altname>Controller (Rumble Gamepad F510)</altname>
  <altname>Controller (Wireless Gamepad F710)</altname>
  <altname>Controller (Xbox 360 Wireless Receiver for Windows)</altname>
  <altname>Controller (Xbox wireless receiver for windows)</altname>
  <altname>Controller (XBOX360 GAMEPAD)</altname>
  <altname>Wireless Gamepad F710 (Controller)</altname>
  <altname>XBOX 360 For Windows</altname>
  <altname>XBOX 360 For Windows (Controller)</altname>
  <altname>Xbox 360 Wireless Controller</altname>
  <altname>Xbox Receiver for Windows (Wireless Controller)</altname>
  <altname>Xbox wireless receiver for windows (Controller)</altname>
  <altname>Gamepad F310 (Controller)</altname>
  <altname>Controller (XBOX One For Windows)</altname>
  <altname>Xbox 360-compatible controller</altname>
  <altname>peripheral.joystick/0</altname>
  <altname>peripheral.joystick</altname>
  <altname>peripheral.joystick/0: Xbox 360-compatible controller</altname>

<joystick name="Microsoft Xbox Controller S">
  <altname>Mad Catz MicroCON</altname>
  <altname>Logitech Xbox Cordless Controller</altname>
  <altname>Microsoft X-Box pad (Japan)</altname> 
  <altname>Xbox 360-compatible controller</altname>
  <altname>peripheral.joystick/0</altname>
  <altname>peripheral.joystick</altname>
  <altname>peripheral.joystick/0: Xbox 360-compatible controller</altname>

But nothing is working.

Any help? I’ve been pulling my hair out on this one.

Not sure how to edit but I forgot to mention I’m trying to use this on a steam link but even outside of the steam link just using the app, the controller won’t work.

Now I did install the Plex home theater app and it works perfectly fine in that application so I will in the mean time just use that application.

I want to also point out that I did check the firmware of the controller using the Xbox Accessory app and I have the most up to date drivers.

The controller also is the controller with the 3.5mm jack. It’s not an S controller either.