ArcadeStick.UserChanged ArcadeStick.UserChanged ArcadeStick.UserChanged ArcadeStick.UserChanged ArcadeStick.UserChanged Event

Definition

Signals when the user associated with the arcade stick has changed.

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

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

// Revoke with event_revoker
UserChanged_revoker UserChanged(auto_revoke_t, TypedEventHandler<IGameController, UserChangedEventArgs> const& handler) const;
public event TypedEventHandler<IGameController, UserChangedEventArgs> UserChanged
Public Event UserChanged As TypedEventHandler (Of IGameController, UserChangedEventArgs)
function onUserChanged(eventArgs){/* Your code */}


arcadeStick.addEventListener("userchanged", onUserChanged);
arcadeStick.removeEventListener("userchanged", onUserChanged);

See also

  • T:Windows.Gaming.Input.IGameController * T:Windows.System.UserChangedEventArgs