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

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

parent 436782f5
...@@ -34,6 +34,7 @@ namespace Windows.Gaming.Input.Custom { ...@@ -34,6 +34,7 @@ namespace Windows.Gaming.Input.Custom {
typedef struct GameControllerVersionInfo GameControllerVersionInfo; typedef struct GameControllerVersionInfo GameControllerVersionInfo;
interface IGameControllerInputSink; interface IGameControllerInputSink;
interface IGameControllerProvider; interface IGameControllerProvider;
interface IHidGameControllerInputSink;
interface ICustomGameControllerFactory; interface ICustomGameControllerFactory;
interface IGameControllerFactoryManagerStatics; interface IGameControllerFactoryManagerStatics;
interface IGameControllerFactoryManagerStatics2; interface IGameControllerFactoryManagerStatics2;
...@@ -95,6 +96,17 @@ namespace Windows.Gaming.Input.Custom { ...@@ -95,6 +96,17 @@ namespace Windows.Gaming.Input.Custom {
} }
[ [
contract(Windows.Foundation.UniversalApiContract, 4.0),
uuid(f754c322-182d-40e4-a126-fcee4ffa1e31)
]
interface IHidGameControllerInputSink : IInspectable
requires Windows.Gaming.Input.Custom.IGameControllerInputSink
{
HRESULT OnInputReportReceived([in] UINT64 timestamp, [in] BYTE id, [in] UINT32 report_len,
[in, size_is(report_len)] BYTE *report_buf);
}
[
contract(Windows.Foundation.UniversalApiContract, 3.0), contract(Windows.Foundation.UniversalApiContract, 3.0),
uuid(69a0ae5e-758e-4cbe-ace6-62155fe9126f) uuid(69a0ae5e-758e-4cbe-ace6-62155fe9126f)
] ]
......
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