https://bugs.winehq.org/show_bug.cgi?id=42154
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Matteo Bruni from comment #10)
Has anyone figured out the issue?
Michael Müller has provided a proof-of-concept patch for Staging which uses PARENTSRC to compile the xinput9_1_0 dll independenty. According to my tests this fixes the bug. My suspicion is that the Steam (or Tomb Raider?) manually enumerates exports (probably in order to install hooks?) and can't deal with forwards. I am not sure how to verify this theory though. All the suspicious GetProcAddress calls for unimplemented functions seem to be harmless though. Probably they just wanted to write code compatible with various different versions of xinput.