Compartir a través de


ArcadeStick.ArcadeStickAdded Evento

Definición

Indica cuándo se conecta un nuevo stick arcade.

// Register
static event_token ArcadeStickAdded(EventHandler<ArcadeStick> const& handler) const;

// Revoke with event_token
static void ArcadeStickAdded(event_token const* cookie) const;

// Revoke with event_revoker
static ArcadeStick::ArcadeStickAdded_revoker ArcadeStickAdded(auto_revoke_t, EventHandler<ArcadeStick> const& handler) const;
public static event System.EventHandler<ArcadeStick> ArcadeStickAdded;
function onArcadeStickAdded(eventArgs) { /* Your code */ }
Windows.Gaming.Input.ArcadeStick.addEventListener("arcadestickadded", onArcadeStickAdded);
Windows.Gaming.Input.ArcadeStick.removeEventListener("arcadestickadded", onArcadeStickAdded);
- or -
Windows.Gaming.Input.ArcadeStick.onarcadestickadded = onArcadeStickAdded;
Public Shared Custom Event ArcadeStickAdded As EventHandler(Of ArcadeStick) 

Tipo de evento

Comentarios

Para identificar los controladores que ya se han agregado, consulta la lista de controladores conectados mediante ArcadeStick.ArcadeSticks.

Se aplica a