Adding all the features needed to use the learning mode for an OSC device