xan1242 / NFS-XtendedInput

NFS (Black Box, MW & newer) - XInput Plugin
MIT License
101 stars 7 forks source link

[Windows 11] Weird XInput behavior for Port 2 #44

Closed xan1242 closed 1 year ago

xan1242 commented 1 year ago

Just starting a debug camera reveals the issue - both analog sticks are set to top-right for some odd reason.

Will investigate further soon...

xan1242 commented 1 year ago

Actually, it was the GetAsyncKeyState acting differently on VK_NULL. It returned always high on the 15th bit for whatever reason.

Fixed in https://github.com/xan1242/NFS-XtendedInput/commit/303df8a8e05a14f1affc1d72d21f45cc27522b5f