The previous axis direction inversion (`-ly - 1`) assumes `ly` is a signed, 32-bit, 2's complement value. It broke with the change 88e775db, which changed the size to 16-bit from 32-bit. Fix it by using simple arithmetic rather than relying on the 2's complement logic. This is a fix for the following regressions (@tinozzo123 [commented](https://gitlab.winehq.org/wine/wine/-/merge_requests/9886#note_129716)): * https://bugs.winehq.org/show_bug.cgi?id=59317 * https://bugs.winehq.org/show_bug.cgi?id=59386 * https://bugs.winehq.org/show_bug.cgi?id=59406 The regression only affected XInput devices converted to DInput. DInput-only devices were not affected. I have reproduced the regression in `wine control joy.cpl`, and confirmed the fix with my GuliKit KingKong 2 Pro controller. It can switch between XInput mode and DInput mode when connected with USB. The regression was reproduced only in XInput mode. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11057