Rémi Bernon : windows.gaming.input: Implement Controller(Added|Removed) event support.
Module: wine Branch: master Commit: 1e9b83a440cf746eb67432687e7718d5b194f5e1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1e9b83a440cf746eb67432687... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Thu Mar 10 13:05:49 2022 +0100 windows.gaming.input: Implement Controller(Added|Removed) event support. Using a generic EventHandler<IInspectable *> implementation. This adds several todo_wine because we currently do not implement custom game controller factories. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/tests/hotplug.c | 21 +++++-- dlls/windows.gaming.input/Makefile.in | 1 + dlls/windows.gaming.input/controller.c | 46 +++++++++------ dlls/windows.gaming.input/event_handlers.c | 89 ++++++++++++++++++++++++++++++ dlls/windows.gaming.input/gamepad.c | 44 +++++++++------ dlls/windows.gaming.input/manager.c | 1 - dlls/windows.gaming.input/private.h | 6 ++ dlls/windows.gaming.input/provider.c | 1 - include/windows.foundation.idl | 1 + 9 files changed, 171 insertions(+), 39 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=1e9b83a440cf746eb6743...
participants (1)
-
Alexandre Julliard