pxt-microbit
Version:
micro:bit target for Microsoft MakeCode (PXT)
13 lines (7 loc) • 359 B
Markdown
Return a code representing the type of the event (button click, device gesture, and so on).
```sig
control.eventValueId(EventBusValue.MICROBIT_EVT_ANY);
```
**This is an advanced API.** For more information, see the
[@boardname@ runtime messageBus documentation](https://lancaster-university.github.io/microbit-docs/ubit/messageBus/).