Looks like the multi touch is centering the top left of the box.
I'm getting the control message as it is centered with the "centrar" button but if I touch the control without moving it I get values x: 0.623... y: 0.549...
A workaround would be to find the offset (looks like it's around .425 for both axis) and center to there.
{
"name": "multi",
"type": "MultiTouchXY",
"bounds": [.3, .4, .4, .4],
"color": "#f88",
"backgroundColor": "#330",
"stroke": "#ff0",
"mode": "momentary",
"isMomentary": false,
"requiresTouchDown": false,
"isLocal": true,
"oninit": "multi.setValue(1, .425, .425);",
"onvaluechange": "oscManager.sendOSC(['/multi/1', 'ff', window.multi.xvalue, window.multi.yvalue]);",
},
{
"name":"centrar_vista",
"label": "CENTRAR",
"type":"Button",
"bounds": [.4, .2, .2, .2],
"mode" : "contact",
"isLocal": true,
"ontouchstart": "multi.setValue(1, .425, .425); oscManager.sendOSC(['/multi/1', 'ff', 0.5, 0.5]);",
},
:)