Read Chapter 5.5 in the StudioLive 1602 Manual on "Using MIDI Control Mode to Remote-Control StudioLive"
There we discuss how to setup your controller and what messages you need to be aware of to program your own MIDI foot pedal board.