MonoGame/MonoGame

Controller DisplayName always null in DX

Aperta

#7517 aperta il 29 mag 2021

 (1 commento) (0 reazioni) (0 assegnatari)C# (3071 fork)batch import
Help WantedInputenhancementhelp wantedplatform: windowsscope: gamepadscope: input

Metriche repository

Star
 (13.886 stelle)
Metriche merge PR
 (Merge medio 25g 3h) (22 PR mergiate in 30 g)

Descrizione

The controller's DisplayName is always null in DX, it seems it's only implemented with SDL platforms.

I don't know if this will be implemented at all in DX, as it's probably quite a lot of work, but I'd suggest adding a comment in the DisplayName's documentation saying that it's SDL-only (or not working in DX) to avoid people losing their time to a feature they can't use.

Guida contributor