Adding your own buttons to the editor

I have my own BBCode thanks to the 'BBCode Manager' add-on and I'd like to add buttons to the editor so that it inserts some BBCode. Are there any guides/tutorials for how to do this?
 
Top Bottom