log and doc: type are set with osc typetags, not js typestrings

This commit is contained in:
jean-emmanuel 2016-10-12 08:49:59 +02:00
parent b3b2660470
commit 4f502f6120
2 changed files with 11 additions and 2 deletions

View file

@ -21,6 +21,7 @@
- removed 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
- `true` and `false` values are now properly sent as boolean
- **args type definition** in `preArgs` option now uses the osc typetags only ('f', 'i', 'T', 'F', etc)
- engine
- electron 1.4.3
- misc

View file

@ -103,12 +103,20 @@ preArgs: [
0.5, // this will be sent as an integer if precision equals 0
1, // this will be sent as float if precision is different from 0
{
type:"float",
type:"f",
value:0.5
},
{
type:"integer",
type:"i",
value:1
},
{
type:"T",
value:true
},
{
type:"F",
value:false
}
]
```