include: Add Windows.Gaming.Input.XusbGameControllerProvider runtimeclass definition.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e762b5c450
commit
189a2eadcb
|
@ -37,11 +37,13 @@ namespace Windows.Gaming.Input.Custom {
|
|||
interface IHidGameControllerInputSink;
|
||||
interface IHidGameControllerProvider;
|
||||
interface IXusbGameControllerInputSink;
|
||||
interface IXusbGameControllerProvider;
|
||||
interface ICustomGameControllerFactory;
|
||||
interface IGameControllerFactoryManagerStatics;
|
||||
interface IGameControllerFactoryManagerStatics2;
|
||||
runtimeclass GameControllerFactoryManager;
|
||||
runtimeclass HidGameControllerProvider;
|
||||
runtimeclass XusbGameControllerProvider;
|
||||
|
||||
[contract(Windows.Foundation.UniversalApiContract, 3.0)]
|
||||
enum XusbDeviceSubtype
|
||||
|
@ -138,6 +140,17 @@ namespace Windows.Gaming.Input.Custom {
|
|||
[in, size_is(report_len)] BYTE *report_buf);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 3.0),
|
||||
exclusiveto(Windows.Gaming.Input.Custom.XusbGameControllerProvider),
|
||||
uuid(6e2971eb-0efb-48b4-808b-837643b2f216)
|
||||
]
|
||||
interface IXusbGameControllerProvider : IInspectable
|
||||
requires Windows.Gaming.Input.Custom.IGameControllerProvider
|
||||
{
|
||||
HRESULT SetVibration([in] DOUBLE rumble_intensity, [in] DOUBLE buzz_intensity);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 3.0),
|
||||
uuid(69a0ae5e-758e-4cbe-ace6-62155fe9126f)
|
||||
|
@ -200,4 +213,15 @@ namespace Windows.Gaming.Input.Custom {
|
|||
[default] interface Windows.Gaming.Input.Custom.IHidGameControllerProvider;
|
||||
interface Windows.Gaming.Input.Custom.IGameControllerProvider;
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 3.0),
|
||||
marshaling_behavior(agile),
|
||||
threading(both)
|
||||
]
|
||||
runtimeclass XusbGameControllerProvider
|
||||
{
|
||||
[default] interface Windows.Gaming.Input.Custom.IXusbGameControllerProvider;
|
||||
interface Windows.Gaming.Input.Custom.IGameControllerProvider;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue