# WRONG — these names don't exist; invented out of thin air MyButton : magic_button_device = magic_button_device{} MyButton.WhenClicked.Listen(DoStuff) # RIGHT — real device, real event, real method MyButton : button_device = button_device{} MyButton.InteractedWithEvent.Subscribe(OnPressed)