[PATCH 4/4] include: Add Windows.Gaming.Input.IRawGameController2 definition.

Rémi Bernon rbernon at codeweavers.com
Mon Feb 21 12:52:48 CST 2022


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 include/windows.gaming.input.idl | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/include/windows.gaming.input.idl b/include/windows.gaming.input.idl
index ccc29922eb8..82b810ddbdd 100644
--- a/include/windows.gaming.input.idl
+++ b/include/windows.gaming.input.idl
@@ -25,6 +25,7 @@ import "asyncinfo.idl";
 import "eventtoken.idl";
 import "windowscontracts.idl";
 import "windows.foundation.idl";
+import "windows.devices.haptics.idl";
 import "windows.gaming.input.forcefeedback.idl";
 import "windows.system.idl";
 
@@ -260,6 +261,20 @@ namespace Windows.Gaming.Input {
         HRESULT GetSwitchKind([in] INT32 index, [out, retval] Windows.Gaming.Input.GameControllerSwitchKind *value);
     }
 
+    [
+        contract(Windows.Foundation.UniversalApiContract, 5.0),
+        exclusiveto(Windows.Gaming.Input.RawGameController),
+        uuid(43c0c035-bb73-4756-a787-3ed6bea617bd)
+    ]
+    interface IRawGameController2 : IInspectable
+        requires Windows.Gaming.Input.IRawGameController,
+                 Windows.Gaming.Input.IGameController
+    {
+        [propget] HRESULT SimpleHapticsControllers([out, retval] Windows.Foundation.Collections.IVectorView<Windows.Devices.Haptics.SimpleHapticsController *> **value);
+        [propget] HRESULT NonRoamableId([out, retval] HSTRING *value);
+        [propget] HRESULT DisplayName([out, retval] HSTRING *value);
+    }
+
     [
         object,
         uuid(8bbce529-d49c-39e9-9560-e47dde96b7c8)
-- 
2.34.1




More information about the wine-devel mailing list