User Tools

Site Tools


new_control_mapping_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
new_control_mapping_format [2015/08/04 14:17]
egasimus [Approach 3]
new_control_mapping_format [2015/08/04 14:18]
egasimus [Approach 3]
Line 107: Line 107:
  
 MIDI = { MIDI = {
-  button: function (mask, event/* arg1, arg2 ... argN */) {+  button: function (mask, event /* + optional ​arg1, arg2 ... argN */) {
     var args = [].slice.call(arguments,​ 3); // gets list of optional arguments     var args = [].slice.call(arguments,​ 3); // gets list of optional arguments
     Events.on('​midi',​ function (midiMessage) {     Events.on('​midi',​ function (midiMessage) {
new_control_mapping_format.txt ยท Last modified: 2015/08/04 14:34 by egasimus