various docs fixes

This commit is contained in:
Peli de Halleux
2016-04-15 16:15:08 -07:00
parent 2fb6025848
commit d7c3f1b50a
12 changed files with 18 additions and 58 deletions

View File

@ -8,14 +8,9 @@ The functions in the ``devices`` namespace allow the BBC micro:bit to communicat
The set of supported events will depend on the remote device and the BBC micro:bit apps available for the remote device.
### Block Editor
![](/static/mb/on-gamepad-button-0.png)
### KindScript
```
export function onGamepadButton(name: string, body:td.Action)
```sig
devices.onGamepadButton(MesDpadButtonInfo.ADown, () => {})
```
### Parameters