- absolute mode for xy rgb pads, oh yeah

This commit is contained in:
jean-emmanuel 2015-09-20 12:02:51 +02:00 • committed by bordun
parent 7ac76ad1c1
commit c5f737ebf7
2 changed files with 84 additions and 20 deletions

View file

@ -118,12 +118,14 @@ It can also be a self invoking function that returns an array of objects :
range:{ // [object] minimum and maximum values for x and y axis
x:{min:0,max:1},
y:{min:0,max:1}
}
},
absolute:false // [bool] set to true for absolute value on touch/click instead of relative dragging
```
- **rgb**
```
type:'rgb'
type:'rgb',
absolute:false // [bool] set to true for absolute value on touch/click instead of relative dragging
```
Variant of xy pad, it outputs rgb values between 0 and 255.