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

適用於

另請參閱