[PATCH 1/5] include: Add Windows.Gaming.Input.IGameControllerInputSink interface definition.
Rémi Bernon
rbernon at codeweavers.com
Tue Mar 1 02:32:32 CST 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
The Xusb interfaces aren't really required as I don't intend to use them
in the implementation, but I'll use the IIDs to check how the providers
are supposed to be implemented.
include/windows.gaming.input.custom.idl | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/windows.gaming.input.custom.idl b/include/windows.gaming.input.custom.idl
index fe20ce3d0cc..93e5866a324 100644
--- a/include/windows.gaming.input.custom.idl
+++ b/include/windows.gaming.input.custom.idl
@@ -34,6 +34,7 @@ namespace Windows.Gaming.Input.Custom {
typedef enum XusbDeviceSubtype XusbDeviceSubtype;
typedef enum XusbDeviceType XusbDeviceType;
typedef struct GameControllerVersionInfo GameControllerVersionInfo;
+ interface IGameControllerInputSink;
interface IGameControllerProvider;
interface ICustomGameControllerFactory;
interface IGameControllerFactoryManagerStatics;
@@ -72,6 +73,16 @@ namespace Windows.Gaming.Input.Custom {
UINT16 Revision;
};
+ [
+ contract(Windows.Foundation.UniversalApiContract, 3.0),
+ uuid(1ff6f922-c640-4c78-a820-9a715c558bcb)
+ ]
+ interface IGameControllerInputSink : IInspectable
+ {
+ HRESULT OnInputResumed([in] UINT64 timestamp);
+ HRESULT OnInputSuspended([in] UINT64 timestamp);
+ }
+
[
contract(Windows.Foundation.UniversalApiContract, 3.0),
uuid(e6d73982-2996-4559-b16c-3e57d46e58d6)
--
2.34.1
More information about the wine-devel
mailing list