dinput: Make sure converted direction values are always positive.
commit11cb3bbf6908261458e8b6c0ad44f7daab8b9266
authorRémi Bernon <rbernon@codeweavers.com>
Fri, 29 Apr 2022 13:58:40 +0000 (29 15:58 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 18 May 2022 19:46:35 +0000 (18 21:46 +0200)
treea152f36dccf2f96965e9e68fbbd56eb4fc1b7418
parent37abfa73f264217cf3499fc04ca0f58d10a9746e
dinput: Make sure converted direction values are always positive.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/dinput/joystick_hid.c
dlls/dinput/tests/force_feedback.c