Module: wine Branch: master Commit: 8d7914962b8a6b00363068e986ca05308fa62044 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8d7914962b8a6b00363068e98...
Author: Rémi Bernon rbernon@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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=8d7914962b8a6b0036306...