1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Add Windows.Gaming.Input.IGamepad2 interface declaration.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
This commit is contained in:
Rémi Bernon 2022-06-07 17:24:55 +02:00 committed by Alexandre Julliard
parent 622d98b74a
commit e8b06de490

View File

@ -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),