include: Add Windows.Gaming.Input.IRawGameController2 definition.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-02-21 19:52:48 +01:00 committed by Alexandre Julliard
parent 66bd6e5276
commit 167ae41b5d
1 changed files with 15 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import "asyncinfo.idl";
import "eventtoken.idl"; import "eventtoken.idl";
import "windowscontracts.idl"; import "windowscontracts.idl";
import "windows.foundation.idl"; import "windows.foundation.idl";
import "windows.devices.haptics.idl";
import "windows.gaming.input.forcefeedback.idl"; import "windows.gaming.input.forcefeedback.idl";
import "windows.system.idl"; import "windows.system.idl";
@ -260,6 +261,20 @@ namespace Windows.Gaming.Input {
HRESULT GetSwitchKind([in] INT32 index, [out, retval] Windows.Gaming.Input.GameControllerSwitchKind *value); HRESULT GetSwitchKind([in] INT32 index, [out, retval] Windows.Gaming.Input.GameControllerSwitchKind *value);
} }
[
contract(Windows.Foundation.UniversalApiContract, 5.0),
exclusiveto(Windows.Gaming.Input.RawGameController),
uuid(43c0c035-bb73-4756-a787-3ed6bea617bd)
]
interface IRawGameController2 : IInspectable
requires Windows.Gaming.Input.IRawGameController,
Windows.Gaming.Input.IGameController
{
[propget] HRESULT SimpleHapticsControllers([out, retval] Windows.Foundation.Collections.IVectorView<Windows.Devices.Haptics.SimpleHapticsController *> **value);
[propget] HRESULT NonRoamableId([out, retval] HSTRING *value);
[propget] HRESULT DisplayName([out, retval] HSTRING *value);
}
[ [
object, object,
uuid(8bbce529-d49c-39e9-9560-e47dde96b7c8) uuid(8bbce529-d49c-39e9-9560-e47dde96b7c8)