You can use a USB foot switch to send keystrokes to MacBB.
and
Midi to Keystroke "Hot Key" Win Mac (Conductor for Mac)