This release adds an option to force a MIDIswitch, MIDIenc, MIDIpot or MIDItouch to send its current value using send(FORCE)
. 'FORCE' is just a constant that represents a boolean value of true
. You can pass any boolean. A value of false
means the function will have no effect.
MIDIswitch is now preferred over MIDIbutton because the former is a more inclusive term for the various types of binary inputs that the class handles.
The default MIDIswitch mode of MOMENTARY is now actually implemented so you can create an instance of a momentary switch using only MIDIswitch(pin, CC)