Commit 436782f5 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

include: Add Windows.Gaming.Input.IGameControllerInputSink interface definition.

parent f0f125f5
...@@ -32,6 +32,7 @@ namespace Windows.Gaming.Input.Custom { ...@@ -32,6 +32,7 @@ namespace Windows.Gaming.Input.Custom {
typedef enum XusbDeviceSubtype XusbDeviceSubtype; typedef enum XusbDeviceSubtype XusbDeviceSubtype;
typedef enum XusbDeviceType XusbDeviceType; typedef enum XusbDeviceType XusbDeviceType;
typedef struct GameControllerVersionInfo GameControllerVersionInfo; typedef struct GameControllerVersionInfo GameControllerVersionInfo;
interface IGameControllerInputSink;
interface IGameControllerProvider; interface IGameControllerProvider;
interface ICustomGameControllerFactory; interface ICustomGameControllerFactory;
interface IGameControllerFactoryManagerStatics; interface IGameControllerFactoryManagerStatics;
...@@ -72,6 +73,16 @@ namespace Windows.Gaming.Input.Custom { ...@@ -72,6 +73,16 @@ namespace Windows.Gaming.Input.Custom {
[ [
contract(Windows.Foundation.UniversalApiContract, 3.0), 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) uuid(e6d73982-2996-4559-b16c-3e57d46e58d6)
] ]
interface IGameControllerProvider : IInspectable interface IGameControllerProvider : IInspectable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment