Rémi Bernon : dinput: Introduce direct_input_device_alloc helper.
Alexandre Julliard
julliard at winehq.org
Fri May 28 16:22:27 CDT 2021
Module: wine
Branch: master
Commit: 8d7914962b8a6b00363068e986ca05308fa62044
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8d7914962b8a6b00363068e986ca05308fa62044
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Fri May 28 11:41:27 2021 +0200
dinput: Introduce direct_input_device_alloc helper.
To factor out device allocation and initialization.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dinput/device.c | 20 ++++++++++++++++++++
dlls/dinput/device_private.h | 4 ++++
dlls/dinput/joystick_linux.c | 15 +++------------
dlls/dinput/joystick_linuxinput.c | 15 ++++-----------
dlls/dinput/joystick_osx.c | 15 +++------------
dlls/dinput/keyboard.c | 14 ++++----------
dlls/dinput/mouse.c | 15 ++++-----------
7 files changed, 42 insertions(+), 56 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=8d7914962b8a6b00363068e986ca05308fa62044
More information about the wine-cvs
mailing list