Megosztás a következőn keresztül:


ArcadeStick.GetButtonLabel(ArcadeStickButtons) Method

Definition

Retrieves the button label for the specified button.

public:
 virtual GameControllerButtonLabel GetButtonLabel(ArcadeStickButtons button) = GetButtonLabel;
GameControllerButtonLabel GetButtonLabel(ArcadeStickButtons const& button);
public GameControllerButtonLabel GetButtonLabel(ArcadeStickButtons button);
function getButtonLabel(button)
Public Function GetButtonLabel (button As ArcadeStickButtons) As GameControllerButtonLabel

Parameters

button
ArcadeStickButtons

The button for which to retrieve the label.

Returns

Returns the label for the specified button. If the button label is blank or there is no known label for the controller's button, then None is returned.

Applies to

See also