From 49b6522759fa5226e311dd5b54c933aad0b8a121 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 28 May 2017 15:26:27 +0200 Subject: [PATCH] doc: touchAddress --- resources/docs/user-guide/widgets-generics.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md index c17d03ad..7db963e1 100644 --- a/resources/docs/user-guide/widgets-generics.md +++ b/resources/docs/user-guide/widgets-generics.md @@ -101,7 +101,15 @@ A widget object is a javascript object. All widgets share a set of generic prope #### `address` - type: `string` - default: `/widgets_id` -- usage: this is the `address` of the osc messages sent by the widget +- usage: this is the `address` of the osc messages sent by the widget, it must start with a `/` + +#### `touchAddress` +- type: `string` +- default: `empty` +- usage: sliders and pads can send special osc messages to inform weither they are currently touched or not. The osc message will be of the following form : +``` + /touch/address [preArgs] 0/1 +``` #### `preArgs` - type: `array`