Experiencing the same issue here – it’s a rather big problem when in a home theatre environment where the controller is the sole input device for the HTPC. Controller has to be on to launch the client; but controller can’t be on when the client launches or input doesn’t work. I basically can’t use the HTPC client in my usual use case until this is fixed, so for now I have to go back to PMP.
I did notice something peculiar: The axis count changes if the controller is connected before the application starts vs if it’s connected after it has started.
Connected before client start (not working):
Apr 05, 2022 16:17:52.734 [4356] INFO - [InputManager] Loading inputmaps from: C:/Program Files/Plex/Plex HTPC/inputmaps
Apr 05, 2022 16:17:52.752 [4356] INFO - [InputManager] Loading inputmaps from: C:/Users/Puulis/AppData/Local/Plex HTPC/inputmaps
Apr 05, 2022 16:17:52.752 [4356] INFO - [InputManager/Keyboard] Successfully inited input
Apr 05, 2022 16:17:52.752 [4356] DEBUG - [InputManager/QHotkey/QHotkeyInput] Initializing.
Apr 05, 2022 16:17:52.752 [4356] WARN - [InputManager/QHotkey/QHotkeyInput] Unable to map shortcut to native keys. Key: Qt::Key_MediaPause Modifiers: QFlags<Qt::KeyboardModifier>(NoModifier)
Apr 05, 2022 16:17:52.752 [4356] WARN - [InputManager/QHotkey/QHotkeyInput] Unable to map shortcut to native keys. Key: Qt::Key_MediaTogglePlayPause Modifiers: QFlags<Qt::KeyboardModifier>(NoModifier)
Apr 05, 2022 16:17:52.752 [4356] INFO - [InputManager/QHotkey] Successfully inited input
Apr 05, 2022 16:17:52.822 [12692] INFO - [Input/SDL] Found 1 joysticks
Apr 05, 2022 16:17:52.824 [12692] INFO - [Input/SDL] JoyStick #0 is Xbox One S Controller with 16 buttons and 6 axes
Apr 05, 2022 16:17:52.824 [4356] INFO - [InputManager/SDL] Successfully inited input
Apr 05, 2022 16:17:52.824 [12692] INFO - [Input/SDL] Detected device was added.
Apr 05, 2022 16:17:52.824 [12692] INFO - [Input/SDL] Found 1 joysticks
Apr 05, 2022 16:17:52.825 [12692] INFO - [Input/SDL] JoyStick #0 is Xbox One S Controller with 16 buttons and 6 axes
Apr 05, 2022 16:17:52.825 [14196] INFO - libCEC was successfully initialized, found version 262151
Apr 05, 2022 16:17:52.826 [4356] INFO - [InputManager/CEC] Successfully inited input
Connected after client start (working):
Apr 05, 2022 16:34:27.196 [13636] DEBUG - [MPVEngine/mpv] cplayer: Done loading scripts.
Apr 05, 2022 16:34:27.196 [19640] INFO - [InputManager] Loading inputmaps from: C:/Program Files/Plex/Plex HTPC/inputmaps
Apr 05, 2022 16:34:27.200 [19640] INFO - [InputManager] Loading inputmaps from: C:/Users/Puulis/AppData/Local/Plex HTPC/inputmaps
Apr 05, 2022 16:34:27.200 [19640] INFO - [InputManager/Keyboard] Successfully inited input
Apr 05, 2022 16:34:27.200 [19640] DEBUG - [InputManager/QHotkey/QHotkeyInput] Initializing.
Apr 05, 2022 16:34:27.200 [19640] WARN - [InputManager/QHotkey/QHotkeyInput] Unable to map shortcut to native keys. Key: Qt::Key_MediaPause Modifiers: QFlags<Qt::KeyboardModifier>(NoModifier)
Apr 05, 2022 16:34:27.200 [19640] WARN - [InputManager/QHotkey/QHotkeyInput] Unable to map shortcut to native keys. Key: Qt::Key_MediaTogglePlayPause Modifiers: QFlags<Qt::KeyboardModifier>(NoModifier)
Apr 05, 2022 16:34:27.200 [19640] INFO - [InputManager/QHotkey] Successfully inited input
Apr 05, 2022 16:34:27.253 [1776] INFO - [Input/SDL] Found 0 joysticks
Apr 05, 2022 16:34:27.253 [19640] INFO - [InputManager/SDL] Successfully inited input
Apr 05, 2022 16:34:27.254 [20108] INFO - libCEC was successfully initialized, found version 262151
Apr 05, 2022 16:34:27.255 [19640] INFO - [InputManager/CEC] Successfully inited input
…
Apr 05, 2022 16:34:35.789 [19640] INFO - [Web] [AppSplash] Destroying splash screen.
Apr 05, 2022 16:34:39.236 [1776] INFO - [Input/SDL] Detected device was added.
Apr 05, 2022 16:34:39.236 [1776] INFO - [Input/SDL] Found 1 joysticks
Apr 05, 2022 16:34:39.240 [1776] INFO - [Input/SDL] JoyStick #0 is Xbox One S Controller with 16 buttons and 5 axes
Apr 05, 2022 16:34:39.470 [19640] DEBUG - [InputManager] Input received: source: Xbox One S Controller keycode: KEY_HAT_DOWN:0
Apr 05, 2022 16:34:39.470 [19640] DEBUG - [InputManager] Emit input action: ["down"]
The only program I have running on my computer that might be conflicting is Steam, but it doesn’t seem to affect any other programs.
EDIT: Controller is an Xbox One controller model 1708 connected via an XBox Wireless Adapter for Windows, and my OS is Windows 11 21H2 22000.556
I really hope this proves useful (even if you just forward it to the libSDL team) as I’d really like to start using this over PMP and from what I’ve tried so far it seems great.