Treatment of Xinput in the Emulator (Bug?)

Citra (and Yuzu but this isn’t the place for that) appears to treat X-input differently than every other emulator I am currently setting up with a TV front end.

  1. Generally when an X-input controller is detected by Windows it is assigned a port 0-3, this port (0 in my case) is what I choose when setting up X-input in all my emulators.

  2. The port system usually works great because no matter what X-input controller is detected by the emulator it will be assigned to port 0 and automatically work with whatever custom keybindings are there.

This could be an Xbox Controller, a DS4 emulating X-input, or even a Moonlight Streaming virtual controller. No matter what is plugged into the PC virtual or physical, they get picked up, assigned to port 0, and used correctly by every other emulator other than Citra.

  1. The problem with Citra is that all the key bindings appear to be specifically tied to the controller itself instead of the usual generic X-input port 0. Every time a different controller is plugged in or I decide to stream the front end instead of play locally none of the controls work. I have to rebind the controls EVERY time a change to the controller situation is made. This gets pretty frustrating.

Is this intended behavior or is there something odd going on with my system?

System Specifications
Operating System: Windows 10
CPU: i7-8750H
GPU: 1060 6gb
Ram: 32gb
Citra Version: Nightly 1718
Game: NA

I have uploaded a log file but I don’t think it will be much use for this sort of question:
citra_log.txt (19.3 KB)

System Information for Support

Client Version                                Nightly 1718 HEAD-dd31ed6
Operating System                              Windows 10 (10.0)
CPU                                           Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | AVX2 | FMA
Graphics API                                  OpenGL 3.3.0
Graphics Renderer                             NVIDIA GeForce GTX 1060/PCIe/SSE2
GPU Driver Version                            471.11
CPU JIT                                       [x]
Hardware Renderer                             [x]
Hardware Shader                               [x]
Hardware Shader, Accurate Multiplication      [x]
Shader JIT                                    [x]
System Region                                 -1
Shader Disk Cache                             [x]

Here’s some issues I found with your log that might help.

Fixed 1st post formatting

System Information for Support

Client Version                                Nightly 1718 HEAD-dd31ed6
Operating System                              Windows 10 (10.0)
CPU                                           Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | AVX2 | FMA
Graphics API                                  OpenGL 3.3.0
Graphics Renderer                             NVIDIA GeForce GTX 1060/PCIe/SSE2
GPU Driver Version                            471.11
CPU JIT                                       [x]
Hardware Renderer                             [x]
Hardware Shader                               [x]
Hardware Shader, Accurate Multiplication      [x]
Shader JIT                                    [x]
System Region                                 -1
Shader Disk Cache                             [x]

Here’s some issues I found with your log that might help.