Return/Update the state of a button

Regarding your midi setup in OSC, I recommend you read this thread : Initial MIDI settings