Module: wine Branch: master Commit: ec3e51bb10365e8081661531a2bd84ff2f10866a URL: https://source.winehq.org/git/wine.git/?a=commit;h=ec3e51bb10365e8081661531a... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Oct 20 11:29:29 2021 +0200 dinput: Factor object enumeration checks and offset mapping. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/device.c | 39 +++++++++++++++++++++++++++++++++------ dlls/dinput/joystick_hid.c | 26 +++++++------------------- dlls/dinput/keyboard.c | 19 ++----------------- dlls/dinput/mouse.c | 20 ++------------------ 4 files changed, 44 insertions(+), 60 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=ec3e51bb10365e8081661...