Rémi Bernon : windows.gaming.input: Register Windows.Gaming.Input.ForceFeedback classes.
Alexandre Julliard
julliard at winehq.org
Wed May 11 16:10:25 CDT 2022
Module: wine
Branch: master
Commit: 922cf81c91c4b37f9197e62476badf680d47e1fb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=922cf81c91c4b37f9197e62476badf680d47e1fb
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Wed Apr 20 19:06:58 2022 +0200
windows.gaming.input: Register Windows.Gaming.Input.ForceFeedback classes.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/windows.gaming.input/classes.idl | 3 ++-
include/windows.gaming.input.forcefeedback.idl | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/windows.gaming.input/classes.idl b/dlls/windows.gaming.input/classes.idl
index ca3bd5d8dd7..2adf43cdbb0 100644
--- a/dlls/windows.gaming.input/classes.idl
+++ b/dlls/windows.gaming.input/classes.idl
@@ -29,11 +29,12 @@ import "asyncinfo.idl";
import "eventtoken.idl";
import "windowscontracts.idl";
import "windows.foundation.idl";
+import "windows.foundation.numerics.idl";
import "windows.devices.haptics.idl";
-import "windows.gaming.input.forcefeedback.idl";
import "windows.system.idl";
import "windows.devices.power.idl";
#define DO_NO_IMPORTS
+#include "windows.gaming.input.forcefeedback.idl"
#include "windows.gaming.input.idl"
#include "windows.gaming.input.custom.idl"
diff --git a/include/windows.gaming.input.forcefeedback.idl b/include/windows.gaming.input.forcefeedback.idl
index 290d1f62971..82fb083b34b 100644
--- a/include/windows.gaming.input.forcefeedback.idl
+++ b/include/windows.gaming.input.forcefeedback.idl
@@ -20,12 +20,14 @@
#pragma winrt ns_prefix
#endif
+#ifndef DO_NO_IMPORTS
import "inspectable.idl";
import "asyncinfo.idl";
import "eventtoken.idl";
import "windowscontracts.idl";
import "windows.foundation.idl";
import "windows.foundation.numerics.idl";
+#endif
namespace Windows.Gaming.Input.ForceFeedback {
typedef enum ForceFeedbackEffectAxes ForceFeedbackEffectAxes;
More information about the wine-cvs
mailing list