First pass at Duplo train support
This commit is contained in:
parent
9a3077866c
commit
4452c0e70a
2
DOCS.md
2
DOCS.md
@ -66,7 +66,7 @@ Emits when a Powered UP Hub device is found.
|
|||||||
|
|
||||||
| Param | Type |
|
| Param | Type |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| hub | [<code>WeDo2SmartHub</code>](#WeDo2SmartHub) \| [<code>BoostMoveHub</code>](#BoostMoveHub) \| [<code>PUPHub</code>](#PUPHub) \| [<code>PUPRemote</code>](#PUPRemote) |
|
| hub | [<code>WeDo2SmartHub</code>](#WeDo2SmartHub) \| [<code>BoostMoveHub</code>](#BoostMoveHub) \| [<code>PUPHub</code>](#PUPHub) \| [<code>PUPRemote</code>](#PUPRemote) \| [<code>DuploTrainHub</code>](#DuploTrainHub) |
|
||||||
|
|
||||||
<a name="WeDo2SmartHub"></a>
|
<a name="WeDo2SmartHub"></a>
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ Emits when a Powered UP Hub device is found.
|
|||||||
|
|
||||||
| Param | Type |
|
| Param | Type |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| hub | [<code>WeDo2SmartHub</code>](#WeDo2SmartHub) \| [<code>BoostMoveHub</code>](#BoostMoveHub) \| [<code>PUPHub</code>](#PUPHub) \| [<code>PUPRemote</code>](#PUPRemote) |
|
| hub | [<code>WeDo2SmartHub</code>](#WeDo2SmartHub) \| [<code>BoostMoveHub</code>](#BoostMoveHub) \| [<code>PUPHub</code>](#PUPHub) \| [<code>PUPRemote</code>](#PUPRemote) \| [<code>DuploTrainHub</code>](#DuploTrainHub) |
|
||||||
|
|
||||||
<a name="WeDo2SmartHub"></a>
|
<a name="WeDo2SmartHub"></a>
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ export class PoweredUP extends EventEmitter {
|
|||||||
/**
|
/**
|
||||||
* Emits when a Powered UP Hub device is found.
|
* Emits when a Powered UP Hub device is found.
|
||||||
* @event PoweredUP#discover
|
* @event PoweredUP#discover
|
||||||
* @param {WeDo2SmartHub | BoostMoveHub | PUPHub | PUPRemote} hub
|
* @param {WeDo2SmartHub | BoostMoveHub | PUPHub | PUPRemote | DuploTrainHub} hub
|
||||||
*/
|
*/
|
||||||
this.emit("discover", hub);
|
this.emit("discover", hub);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user