This repository was archived by the owner on May 22, 2025. It is now read-only.

Description
On the MultiButton docs page:
"ontouchstart": "oscManager.sendOSC('/button', 'ii', this.childID, this.value)",
which (on Android at least) results in no message being received. The code that works:
"ontouchstart": "oscManager.sendOSC(['/button', 'ii', this.childID, this.value])",
which matches the interface OSCManager.prototype.sendOSC = function(msg, successCallback, failureCallback) (though supplying only the first arg).
https://github.com/charlieroberts/Control/blob/master/Android/Control/assets/www/js/OSCManager.js#L10
The "Scripting" docs page makes the same error. Of course, it's possible that the docs are right but the Android code is wrong.
Thanks for Control!