RadialController.ButtonPressed RadialController.ButtonPressed RadialController.ButtonPressed RadialController.ButtonPressed RadialController.ButtonPressed Event

Definition

Occurs when the wheel device is pressed.

public : event TypedEventHandler<RadialController, RadialControllerButtonPressedEventArgs> ButtonPressed
// Register
event_token ButtonPressed(TypedEventHandler<RadialController, RadialControllerButtonPressedEventArgs> const& handler) const;

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

// Revoke with event_revoker
ButtonPressed_revoker ButtonPressed(auto_revoke_t, TypedEventHandler<RadialController, RadialControllerButtonPressedEventArgs> const& handler) const;
public event TypedEventHandler<RadialController, RadialControllerButtonPressedEventArgs> ButtonPressed
Public Event ButtonPressed As TypedEventHandler (Of RadialController, RadialControllerButtonPressedEventArgs)
function onButtonPressed(eventArgs){/* Your code */}


radialController.addEventListener("buttonpressed", onButtonPressed);
radialController.removeEventListener("buttonpressed", onButtonPressed);