Argh unfortunately my home DSL connection is down (I'm at work) so I can't get the code for you right now. I'll try to post something tonight, but right now mine is based on an IR trans from awhile back.. I'll have to get the 2.0b3 IR trans and see if I can create a patch that goes "on top of" his latest patch. Maybe tonight, if not, this weekend.
It changes the way the ir_codes files are structured (there's a third column for the alternate code) so you'll have to mess with that as well. And right now the toggle button is hardcoded to be the CD-SR77's "ATT" button. If I release a patch, I'll have to make this configurable, or everyone will have to hand-edit the patch or something.