buttons:
- remove special `false` value case for push/toggles (which used to disable osc sending) - add `norelease` option to `push` for disabling osc messages when releasing the button
This commit is contained in:
parent
eee1e67aa2
commit
f776645ce0
4 changed files with 24 additions and 18 deletions
|
|
@ -17,7 +17,6 @@ Buttons are exactly what you think they are.
|
|||
- default: `1`
|
||||
- usage: defines which value is sent on `on` position
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- set to `false` to prevent sending any osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
|
||||
|
||||
#### `off`
|
||||
|
|
@ -25,7 +24,6 @@ Buttons are exactly what you think they are.
|
|||
- default: `0`
|
||||
- usage: defines which value is sent on `off` position
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- set to `false` to prevent sending any osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
|
||||
|
||||
|
||||
|
|
@ -44,7 +42,6 @@ Buttons are exactly what you think they are.
|
|||
- default: `1`
|
||||
- usage: defines which value is sent when pushing the button
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- set to `false` to prevent sending any osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
|
||||
|
||||
#### `off`
|
||||
|
|
@ -52,11 +49,14 @@ Buttons are exactly what you think they are.
|
|||
- default: `0`
|
||||
- usage: defines which value is sent when releasing the button
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- set to `false` to prevent sending any osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
|
||||
|
||||
### `norelease`
|
||||
- type: `bool`
|
||||
- default: `false`
|
||||
- usage: set to true to prevent sending any osc message when releasing the button
|
||||
|
||||
Setting the `push`'s value externally (via osc or widget linking/cloning) will toggle it's inner light.
|
||||
Setting the `push`'s value externally (via osc) will toggle it's inner light.
|
||||
|
||||
|
||||
----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue