Module: wine Branch: master Commit: ae849579161cb14aae0f71a64563ade1bc74c847 URL: https://source.winehq.org/git/wine.git/?a=commit;h=ae849579161cb14aae0f71a64... Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Tue May 7 08:59:38 2019 -0500 dinput: Use heuristics to guess if a device is a gamepad or a joystick. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47123 Signed-off-by: Andrew Eikum <aeikum(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/dinput_private.h | 2 +- dlls/dinput/joystick.c | 6 ++++- dlls/dinput/joystick_linux.c | 46 +++++++++++++++++++++++++++++++++++++-- dlls/dinput/joystick_linuxinput.c | 27 ++++++++++++++++++++--- dlls/dinput/joystick_osx.c | 20 ++++++++++++++--- 5 files changed, 91 insertions(+), 10 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=ae849579161cb14aae0f7...