From b23c062e07f04a3e7ea0d0af0cd0309429356d48 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 27 Jun 2025 09:55:19 +0200 Subject: [PATCH] docs: update --- README.md | 2 +- resources/docs/docs/credits.md | 2 +- .../docs/docs/widgets/properties-reference.md | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 280b04ee..cecaf628 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,5 @@ Open Stage Control ---- -Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2022. +Copyleft © Jean-Emmanuel Doucet 2014-2025. This program is a free software released under the [GNU/GPL3](ttps://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license. diff --git a/resources/docs/docs/credits.md b/resources/docs/docs/credits.md index bbdeb473..73425ad7 100644 --- a/resources/docs/docs/credits.md +++ b/resources/docs/docs/credits.md @@ -1,6 +1,6 @@ ## License -Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2022. +Copyleft © Jean-Emmanuel Doucet 2014-2025. This program is a free software released under the [GNU/GPL3](https://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license. ## Dependencies diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 7f997a2c..9898b64f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -776,10 +776,12 @@ | --- | --- | --- | --- | |
snap#
| `boolean` | false | By default, the points are dragged from their initial position.

If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
spring#
| `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
rangeX#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the x axis | - |
rangeY#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the y axis | + |
rangeX#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the x axis (see fader) | + |
rangeY#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the y axis (see fader) | |
logScaleX#
| `boolean`|
`number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
logScaleY#
| `boolean`|
`number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
stepsX#
| `number`|
`array`|
`string` | false | Defines `steps` for the x axis (see fader) | + |
stepsY#
| `number`|
`array`|
`string` | false | Defines `steps` for the x axis (see fader) | |
axisLock#
| `string` | "" | Restrict movements to one of the axes only unless `Shift` is held.

When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

Choices: ``, `x`, `y`, `auto` | |
doubleTap#
| `boolean`|
`string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

Choices: `false`, `true`, `script` | |
sensitivity#
| `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -830,10 +832,12 @@ |
pointsAttr#
| `object` | [] | Defines per-point properties that are otherwise inherited from the multixy. Must be an array of objects (one per point) that may contain the following keys:
- visible (visibility and interactability)
- colorFill (background color)
- colorStroke (outline color)
- colorText (label color)
- color (shorthand for colorFill and colorStroke)
- alphaFillOn (background opacity)
- pointSize
- label | |
snap#
| `boolean` | false | By default, the points are dragged from their initial position.

If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
spring#
| `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
rangeX#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the x axis | - |
rangeY#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the y axis | + |
rangeX#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the x axis (see fader) | + |
rangeY#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the y axis (see fader) | |
logScaleX#
| `boolean`|
`number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
logScaleY#
| `boolean`|
`number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
stepsX#
| `number`|
`array`|
`string` | false | Defines `steps` for the x axis (see fader) | + |
stepsY#
| `number`|
`array`|
`string` | false | Defines `steps` for the x axis (see fader) | |
axisLock#
| `string` | "" | Restrict movements to one of the axes only.

When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

Choices: ``, `x`, `y`, `auto` | |
doubleTap#
| `boolean`|
`string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

Choices: `false`, `true`, `script` | |
sensitivity#
| `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -859,7 +863,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
valueLength#
| `number` | 1 | Defines the number of values accepted by the widget (minimum 1). Incoming messages that don't comply will be ignored

When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1. | - |
autoClear#
| `boolean` | true | If set to `false`, the canvas context won't be cleared automatically and `ctx.clear()` will need to be called in `onDraw`. | + |
autoClear#
| `boolean` | true | If set to `false`, the canvas context won't be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`. | |
continuous#
| `boolean`|
`number` | false | If set to `true`, `onDraw` will be called at each frame, otherwise it will be called only when the widget is touched and when it receives a value.

Can be a number between 1 and 60 to specify the framerate (default: 30 fps). | === "scripting"