# Plex htpc: xbox series x controller not working

**URL:** https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821
**Category:** Plex Players
**Tags:** plex-htpc
**Created:** [June 20, 2022, 5:04pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821 "2022-06-20T17:04:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![hanifidogukanozkan\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@hanifidogukanozkan\_gmail\_com](https://forums.plex.tv/u/hanifidogukanozkan_gmail_com)
#### Post date: [June 20, 2022, 5:04pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/1 "2022-06-20T17:04:08Z")

</div>

[Plex HTPC.log](https://forums.plex.tv/uploads/short-url/neKshTz3Jycx3Kdz6VEVeSDG6wP.log) (85.0 KB)

Hi guys I need your help. I prepared json for controller. But it is not working.

File name: xbox-controller-windows.json

{  
“name”: “Xbox Controller”,  
“idmatcher”: “XInput.\*|Microsoft.\*joystick driver”,  
“mapping”:  
{  
// A  
“KEY\_BUTTON\_0”: “enter”,

```
  // B
  "KEY_BUTTON_1": {
    "short": "back",
    "long": "home"
  },

  // X
  "KEY_BUTTON_2": "cycle_audio",

  // Y
  "KEY_BUTTON_3": "cycle_subtitle",
  "KEY_BUTTON_3": "search",

  // LB
  "KEY_BUTTON_4": "seek_backward",

  // RB
  "KEY_BUTTON_5": "seek_forward",

  // left thumbstick press
  "KEY_BUTTON_6": "host:toggleDebug",

  // right thumbstick press
  "KEY_BUTTON_7": "host:fullscreen",

  // start
  "KEY_BUTTON_8": "",

  // back
  "KEY_BUTTON_9": "",

  // Windows button
  "KEY_BUTTON_10": {
    "short": "home",
    "long": "exit"
  },

  // D-PAD
  "KEY_BUTTON_11": "up",
  "KEY_BUTTON_12": "down",
  "KEY_BUTTON_13": "left",
  "KEY_BUTTON_14": "right",

  // left thumbstick axis
  "KEY_AXIS_0_UP": "left",
  "KEY_AXIS_0_DOWN": "right",
  "KEY_AXIS_1_UP": "up",
  "KEY_AXIS_1_DOWN": "down",

  // right thumbstick axis
  "KEY_AXIS_3_UP": "increase_volume",
  "KEY_AXIS_3_DOWN": "decrease_volume",
  "KEY_AXIS_5_UP": "decrease_audio_delay",
  "KEY_AXIS_5_DOWN": "increase_audio_delay",

  // left trigger
  "KEY_AXIS_2_UP": "",

  // right trigger
  "KEY_AXIS_5_UP": "",
  
  // D-Pad with JoyHat events
  "KEY_HAT_DOWN": "down",
  "KEY_HAT_UP": "up",
  "KEY_HAT_RIGHT": "right",
  "KEY_HAT_LEFT": "left"

}

```

}

---

<div class="post-metadata">

### Author: ![emrysblack](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/emrysblack/32/257792_2.png) [@emrysblack](https://forums.plex.tv/u/emrysblack)
#### Post date: [June 20, 2022, 6:44pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/2 "2022-06-20T18:44:46Z")

</div>

You shouldn’t need an input map for that controller as it should be supported out of the box. There is a current bug in Plex HTPC with any gamepad.

Make sure the controller is fully powered off.  
Launch Plex HTPC  
Wait until the interface is fully loaded and then power on the gamepad.

It should work then. Try that and post the result. We can go from there.

---

<div class="post-metadata">

### Author: ![hanifidogukanozkan\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@hanifidogukanozkan\_gmail\_com](https://forums.plex.tv/u/hanifidogukanozkan_gmail_com)
#### Post date: [June 20, 2022, 6:53pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/3 "2022-06-20T18:53:37Z")

</div>

[Plex HTPC.log](https://forums.plex.tv/uploads/short-url/j5JUuA9IaNaGsa1oKOx6uzhra6L.log) (81.5 KB)

i did.

---

<div class="post-metadata">

### Author: ![hanifidogukanozkan\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@hanifidogukanozkan\_gmail\_com](https://forums.plex.tv/u/hanifidogukanozkan_gmail_com)
#### Post date: [June 20, 2022, 6:56pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/4 "2022-06-20T18:56:12Z")

</div>

inputmaps .  
Converting to txt for sharing.

[xbox-controller-windows.txt](https://forums.plex.tv/uploads/short-url/vhnjFq9UuogMxm99ZV5jhN6D4cS.txt) (1.7 KB)

---

<div class="post-metadata">

### Author: ![emrysblack](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/emrysblack/32/257792_2.png) [@emrysblack](https://forums.plex.tv/u/emrysblack)
#### Post date: [June 21, 2022, 2:42am UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/5 "2022-06-21T02:42:22Z")

</div>

Did it work as expected during that test? According the log you sent, it was detected as well as the button presses. Well, most of them. If it was partially working, you may want to try removing the config out to your desktop so it doesn’t get loaded and try that same thing with the default settings. Or I’ll have to dig in my system to see if I have a custom one set up that works properly that I can send as that is the controller I use with HTPC on Windows.

---

<div class="post-metadata">

### Author: ![fullbellyalchemist](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fullbellyalchemist/32/279802_2.png) [@fullbellyalchemist](https://forums.plex.tv/u/fullbellyalchemist)
#### Post date: [June 21, 2022, 10:18pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/6 "2022-06-21T22:18:42Z")

</div>

I am having a similar issue. This is the log from when I was using the input map I created using the [official documentation](https://support.plex.tv/articles/plex-htpc-input-maps/):

[Plex HTPC.1.log](https://forums.plex.tv/uploads/short-url/o1ikppHls7mwEtRQdIZYm54tlSe.log) (170.5 KB)

Then I tried removing it and leaving only the defaults in their proper folder. Still didn’t work. Here is that log:

[Plex HTPC.log](https://forums.plex.tv/uploads/short-url/xfu9sSKXs0WFnQpaxBvUEQTkxjJ.log) (152.9 KB)

Thank you in advance for the help!

---

<div class="post-metadata">

### Author: ![Ninelpienel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ninelpienel/32/279811_2.png) [@Ninelpienel](https://forums.plex.tv/u/Ninelpienel)
#### Post date: [June 22, 2022, 6:10am UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/7 "2022-06-22T06:10:00Z")

</div>

For several years there has been a bug which causes the controller to work only if it is connected when Plex HTPC is already running. Even then, it won’t work because there is another bug that has been around for months that causes an error after playing one episode when a controller is connected. So yeah, seems like Plex devs don’t care about controller support.

---

<div class="post-metadata">

### Author: ![fullbellyalchemist](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fullbellyalchemist/32/279802_2.png) [@fullbellyalchemist](https://forums.plex.tv/u/fullbellyalchemist)
#### Post date: [June 23, 2022, 4:55pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/8 "2022-06-23T16:55:24Z")

</div>

That’s unfortunate. Maybe I should just look into other platforms. ☹

---

<div class="post-metadata">

### Author: ![DavidePeriquito](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@DavidePeriquito](https://forums.plex.tv/u/DavidePeriquito)
#### Post date: [July 11, 2022, 2:04pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/10 "2022-07-11T14:04:32Z")

</div>

I don’t know if it helps, but I was also having some problems with my inputmaps.json. I had the file under the default folder therefore it wasn’t loaded. once I got it on the right place it started working as expected.

From:

> C:\Users\kodi\AppData\Local\Plex HTPC\inputmaps\default

To:

> C:\Users\kodi\AppData\Local\Plex HTPC\inputmaps

---

<div class="post-metadata">

### Author: ![fullbellyalchemist](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fullbellyalchemist/32/279802_2.png) [@fullbellyalchemist](https://forums.plex.tv/u/fullbellyalchemist)
#### Post date: [July 14, 2022, 5:03pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/11 "2022-07-14T17:03:46Z")

</div>

> [@DavidePeriquito](#):
>
> official documentation

Thanks for the response, but as I said in my first comment, I used [this documentation](https://support.plex.tv/articles/plex-htpc-input-maps/). So I did this already. :\

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [November 5, 2022, 11:56pm UTC](https://forums.plex.tv/t/plex-htpc-xbox-series-x-controller-not-working/797821/13 "2022-11-05T23:56:37Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
