I’m trying to set up my XBox 360 Wireless controller to run Plex Media Player in Windows 10. I’ve created an input map:
"name": "Xbox Controller",
"idmatcher": "XInput.*|Microsoft.*joystick driver",
"mapping":
{
// A
"KEY_BUTTON_0": "enter",
// B
"KEY_BUTTON_1": {
"short": "back",
"long": "home"
},
etc.
and it looks like Plex sees the controller:
2020-01-02 08:35:11 [ INFO ] InputSDL.cpp @ 207 - SDL found 1 joysticks
2020-01-02 08:35:11 [ INFO ] InputSDL.cpp @ 216 - JoyStick # 0 is Microsoft PC-joystick driver with 10 buttons and 5 axes
etc.
It seems to be receiving and matching the inputs:
2020-01-02 08:40:34 [ DEBUG ] InputComponent.cpp @ 160 - Input received: source: "Microsoft PC-joystick driver" keycode: "KEY_BUTTON_0" : InputBase::InputkeyState(KeyDown)
2020-01-02 08:40:34 [ DEBUG ] InputComponent.cpp @ 229 - Emit input action: ("enter")
2020-01-02 08:37:08 [ DEBUG ] InputComponent.cpp @ 160 - Input received: source: "Microsoft PC-joystick driver" keycode: "KEY_BUTTON_1" : InputBase::InputkeyState(KeyUp)
2020-01-02 08:37:08 [ DEBUG ] InputComponent.cpp @ 180 - "Emit input action (short):" "back"
But nothing actually happens in Plex Media Player! What am I missing?
Server Version#: 1.18.3.2156-349e9837e
Player Version#: Version 3.104.2
EDIT: Figured it out, these commands only do anything in TV mode, not “mouse mode” or whatever the other one is.