Module: wine Branch: master Commit: 436782f587e8563c7c4f8c0dbcb26382f6d8409e URL: https://source.winehq.org/git/wine.git/?a=commit;h=436782f587e8563c7c4f8c0db...
Author: Rémi Bernon rbernon@codeweavers.com Date: Tue Mar 1 09:32:32 2022 +0100
include: Add Windows.Gaming.Input.IGameControllerInputSink interface definition.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 a95ec9db482..d059f35dddd 100644 --- a/include/windows.gaming.input.custom.idl +++ b/include/windows.gaming.input.custom.idl @@ -32,6 +32,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; @@ -70,6 +71,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)