Skip to content

Commit 1e77af0

Browse files
rbernonivyl
authored andcommitted
include: Add Windows.Gaming.Input.IGamepad2 interface declaration.
1 parent a3bd170 commit 1e77af0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

include/windows.gaming.input.idl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,19 @@ namespace Windows.Gaming.Input {
446446
HRESULT GetCurrentReading([out, retval] Windows.Gaming.Input.GamepadReading *value);
447447
}
448448

449+
[
450+
contract(Windows.Foundation.UniversalApiContract, 3.0),
451+
exclusiveto(Windows.Gaming.Input.Gamepad),
452+
uuid(3c1689bd-5915-4245-b0c0-c89fae0308ff)
453+
]
454+
interface IGamepad2 : IInspectable
455+
requires Windows.Gaming.Input.IGamepad,
456+
Windows.Gaming.Input.IGameController
457+
{
458+
HRESULT GetButtonLabel([in] Windows.Gaming.Input.GamepadButtons button,
459+
[out, retval] Windows.Gaming.Input.GameControllerButtonLabel *value);
460+
}
461+
449462
[
450463
contract(Windows.Foundation.UniversalApiContract, 3.0),
451464
exclusiveto(Windows.Gaming.Input.RacingWheel),

0 commit comments

Comments
 (0)