[PATCH 2/3] include: Add Windows.Gaming.Input.IGamepad2 interface declaration.
Rémi Bernon
wine at gitlab.winehq.org
Wed Jun 8 06:45:20 CDT 2022
From: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
include/windows.gaming.input.idl | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/include/windows.gaming.input.idl b/include/windows.gaming.input.idl
index fdae3aa70b1..5fc5265247d 100644
--- a/include/windows.gaming.input.idl
+++ b/include/windows.gaming.input.idl
@@ -446,6 +446,19 @@ namespace Windows.Gaming.Input {
HRESULT GetCurrentReading([out, retval] Windows.Gaming.Input.GamepadReading *value);
}
+ [
+ contract(Windows.Foundation.UniversalApiContract, 3.0),
+ exclusiveto(Windows.Gaming.Input.Gamepad),
+ uuid(3c1689bd-5915-4245-b0c0-c89fae0308ff)
+ ]
+ interface IGamepad2 : IInspectable
+ requires Windows.Gaming.Input.IGamepad,
+ Windows.Gaming.Input.IGameController
+ {
+ HRESULT GetButtonLabel([in] Windows.Gaming.Input.GamepadButtons button,
+ [out, retval] Windows.Gaming.Input.GameControllerButtonLabel *value);
+ }
+
[
contract(Windows.Foundation.UniversalApiContract, 3.0),
exclusiveto(Windows.Gaming.Input.RacingWheel),
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/206
More information about the wine-devel
mailing list