include: Add Windows.Gaming.Input.Custom.ICustomGameControllerFactory declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
23f282b3bb
commit
f68270e889
|
@ -31,6 +31,7 @@ import "windows.storage.streams.idl";
|
||||||
namespace Windows.Gaming.Input.Custom {
|
namespace Windows.Gaming.Input.Custom {
|
||||||
typedef struct GameControllerVersionInfo GameControllerVersionInfo;
|
typedef struct GameControllerVersionInfo GameControllerVersionInfo;
|
||||||
interface IGameControllerProvider;
|
interface IGameControllerProvider;
|
||||||
|
interface ICustomGameControllerFactory;
|
||||||
|
|
||||||
[contract(Windows.Foundation.UniversalApiContract, 3.0)]
|
[contract(Windows.Foundation.UniversalApiContract, 3.0)]
|
||||||
struct GameControllerVersionInfo
|
struct GameControllerVersionInfo
|
||||||
|
@ -53,4 +54,16 @@ namespace Windows.Gaming.Input.Custom {
|
||||||
[propget] HRESULT HardwareVersionInfo([out, retval] Windows.Gaming.Input.Custom.GameControllerVersionInfo *value);
|
[propget] HRESULT HardwareVersionInfo([out, retval] Windows.Gaming.Input.Custom.GameControllerVersionInfo *value);
|
||||||
[propget] HRESULT IsConnected([out, retval] boolean *value);
|
[propget] HRESULT IsConnected([out, retval] boolean *value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[
|
||||||
|
contract(Windows.Foundation.UniversalApiContract, 3.0),
|
||||||
|
uuid(69a0ae5e-758e-4cbe-ace6-62155fe9126f)
|
||||||
|
]
|
||||||
|
interface ICustomGameControllerFactory : IInspectable
|
||||||
|
{
|
||||||
|
HRESULT CreateGameController([in] Windows.Gaming.Input.Custom.IGameControllerProvider *provider,
|
||||||
|
[out, retval] IInspectable **value);
|
||||||
|
HRESULT OnGameControllerAdded([in] Windows.Gaming.Input.IGameController *value);
|
||||||
|
HRESULT OnGameControllerRemoved([in] Windows.Gaming.Input.IGameController *value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue