Rémi Bernon : winebus.sys: Return an event from SDL bus wait on input report.

Alexandre Julliard julliard at winehq.org
Wed Sep 15 16:21:32 CDT 2021


Module: wine
Branch: master
Commit: 8b434bdc7fe98e3bd97e180f31bc18d87161c05a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8b434bdc7fe98e3bd97e180f31bc18d87161c05a

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Wed Sep 15 09:04:41 2021 +0200

winebus.sys: Return an event from SDL bus wait on input report.

Instead of calling process_hid_report.

This adds a reference count on unix devices to make sure they are kept
alive until all their input report events have been processed.

This also uses a bus-specific device list, to be able to find devices
from joystick ids without having to call back to the win32 side.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winebus.sys/bus_sdl.c      | 78 +++++++++++++++++++++++++++--------------
 dlls/winebus.sys/main.c         | 31 ++++++++++++++--
 dlls/winebus.sys/unix_private.h |  4 +++
 dlls/winebus.sys/unixlib.c      | 50 ++++++++++++++++++++++++--
 dlls/winebus.sys/unixlib.h      |  8 +++++
 5 files changed, 140 insertions(+), 31 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=8b434bdc7fe98e3bd97e180f31bc18d87161c05a



More information about the wine-cvs mailing list