View Issue Details

IDProjectCategoryView StatusLast Update
0005696The Dark ModCodingpublic01.01.2025 10:33
ReporterMirceaKitsune Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
Product VersionSVN 
Summary0005696: D-input gamepads aren't recognized, only X-input is functional
DescriptionGamepad support was added in TDM 2.09 but appears to contain a major issue. My gamepad can be configured to work in two modes with a switch on the back: D-input and X-input. I understand dinput is the architecture for older controllers, whereas xinput is a newer architecture based on the Xbox controller. While X is preferred over D, my and some other controllers can have issues working properly over X, in part due to some models masquerading as actual Xbox controllers.

I noticed TDM will ignore gamepads over the dinput interface: My controller is only recognized if I configure it to work over xinput. Like I said this is the ideal input architecture, but considering many controllers don't fully support it yet: Could something be done to have dinput based controllers working as well?
Steps To ReproduceTry different controllers using the various interfaces (X and D input), ideally one that lets you switch between the modes. You should notice X will work whereas D will not. This is at least the case in Linux, I don't have Windows to verify if it happens on it as well.
Additional InformationMy device is a GXT 540 Yula Wired Gamepad:

https://www.trust.com/en/product/20712-gxt-540-wired-gamepad
Tagsgamepad

Activities

Fiver

Fiver

01.01.2025 10:33

reporter   ~0016933

@MirceaKitsune: Can you still reproduce this on the latest dev build? I usually use X-input, but I have now also tried using D-input on TDM 2.13/64 #10920 on Linux and both input modes work for me with a Logitech F310.

Issue History

Date Modified Username Field Change
07.08.2021 18:03 MirceaKitsune New Issue
01.01.2025 10:33 Fiver Note Added: 0016933
01.01.2025 10:33 Fiver Tag Attached: gamepad