ArcadeStick.GetButtonLabel(ArcadeStickButtons) 方法

定义

检索指定按钮的按钮标签。

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

参数

button
ArcadeStickButtons

要检索其标签的按钮。

返回

返回指定按钮的标签。 如果按钮标签为空或控制器的按钮没有已知标签,则返回 None

适用于

另请参阅