If you're an FCB1010 owner who hasn't invested in the alternate ROMs, you'll be wanting this.
PD-FCB1010_usage.mp4
FCB1010.pd

It's a patch that uses the Note feature to break out stomp and release on each pedal into two separate Bangs for each switch, and captures the exp datas. From there, you can do anything you like with the inputs.

Inspired by my disgust that they shipped this product with firmware that cannot act as a piano sustain pedal out of the box. I had no idea that such a monumentally absurd decision could be made, even by the likes of Behringer. Now it's fixed.

Everything is hardcoded, so unless you go in and change the patch yourself, you will need setup a complete bank of ten switches with exp pedals enabled on CC7 and CC27 and the Notes for switches 1-10 as 34,36,38,40,42,41,43,45,47,49, everything sending on Channel 16.

Since PureData can do everything the board can and so much more, that could be your very last riverdance.