linkId: add support for master/slave modes with >> and << prefixes (#251)

This commit is contained in:
jean-emmanuel 2018-05-04 17:36:07 +02:00
parent 3c770a9a3d
commit 47340cb5eb
3 changed files with 17 additions and 7 deletions

View file

@ -16,8 +16,10 @@ All widgets share a set of generic properties described below.
### `linkId`
- type: `string|array`
- default: `empty`
- usage: widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.
- usage:
- widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.
- when prefixed with `>>`, the linkId will make the widget act as a master (sending but not receiving)
- when prefixed with `<<`, the linkId will make the widget act as a slave (receiving but not sending)
## Style