Rémi Bernon : include: Add Windows.Gaming.Input.IRawGameController2 definition.
Alexandre Julliard
julliard at winehq.org
Tue Feb 22 16:06:49 CST 2022
Module: wine
Branch: master
Commit: 167ae41b5dbcac9f5353f5f0bf1aaad5e76d1325
URL: https://source.winehq.org/git/wine.git/?a=commit;h=167ae41b5dbcac9f5353f5f0bf1aaad5e76d1325
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Mon Feb 21 19:52:48 2022 +0100
include: Add Windows.Gaming.Input.IRawGameController2 definition.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/windows.gaming.input.idl | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/include/windows.gaming.input.idl b/include/windows.gaming.input.idl
index ccc29922eb8..82b810ddbdd 100644
--- a/include/windows.gaming.input.idl
+++ b/include/windows.gaming.input.idl
@@ -25,6 +25,7 @@ import "asyncinfo.idl";
import "eventtoken.idl";
import "windowscontracts.idl";
import "windows.foundation.idl";
+import "windows.devices.haptics.idl";
import "windows.gaming.input.forcefeedback.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);
}
+ [
+ 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,
uuid(8bbce529-d49c-39e9-9560-e47dde96b7c8)
More information about the wine-cvs
mailing list