New version of SDL2.dll breaks certain axis bindings with X-input gamepads
Issue: v2.2.11 prerelease1 correctly recognizes X-input gamepads, however it incorrectly interprets axis bindings. For example, the default camera up/down and left/right axes are Y-RUDDER- and X-RUDDER, respectively. On v2.2.10 and earlier, this is up/down and left/right on the right stick. In v.2.2.11 prerelease1, moving the right stick up/down actually moves the camera left/right, and moving the right stick left/right is ignored in third person view, single player. In multiplayer, moving the right stick right activates the Fire Normal axis. Moving it left does nothing. And in first person view in any mode, the camera instantly looks up to the sky when Z-AXIS is pressed, which is mapped to the left trigger by default. This is supposed to be the Fire Normal Axis, but it instead moves the camera down when pressed, and back up when released.
Proposed Solution: Fix or rollback SDL2.dll (1,977 KB) with the version used in v.2.2.10 or earlier (1,129 KB). I can only reproduce this issue when this updated SDL2.dll is present in the main directory. Deleting it and using the older one 100% solves the issue.
Update 2023-02-21: I did a "reverse test" of this issue by replacing the old SDL2.dll in my v.2.2.10 folder with the new version that comes with v.2.2.11 prerelease1. After doing this, I was able to faithfully reproduce the same incorrect axis binding issue in v.2.2.10 too. Thus, this issue seems incontrovertibly tied to the new SDL2.dll.