ArcadeStick.HeadsetDisconnected ArcadeStick.HeadsetDisconnected ArcadeStick.HeadsetDisconnected ArcadeStick.HeadsetDisconnected ArcadeStick.HeadsetDisconnected Event

Definition

Signals when a headset is disconnected from the arcade stick.

public : event TypedEventHandler<IGameController, Headset> HeadsetDisconnected
// Register
event_token HeadsetDisconnected(TypedEventHandler<IGameController, Headset> const& handler) const;

// Revoke with event_token
void HeadsetDisconnected(event_token const& cookie) const;

// Revoke with event_revoker
HeadsetDisconnected_revoker HeadsetDisconnected(auto_revoke_t, TypedEventHandler<IGameController, Headset> const& handler) const;
public event TypedEventHandler<IGameController, Headset> HeadsetDisconnected
Public Event HeadsetDisconnected As TypedEventHandler (Of IGameController, Headset)
function onHeadsetDisconnected(eventArgs){/* Your code */}


arcadeStick.addEventListener("headsetdisconnected", onHeadsetDisconnected);
arcadeStick.removeEventListener("headsetdisconnected", onHeadsetDisconnected);

See also

  • T:Windows.Gaming.Input.IGameController * T:Windows.Gaming.Input.Headset