Mapping MIDI control surface controls

I’m not yet very deep into Ardour, so I just want to ask if there is a way to map entirely a control surface from scratch. I have an old Event EZbus (USB) , with 3 midi channels, the 1st one is for control. The is no mapping for it, so I’d like to build my own one for Ardour. Is this possible ?

Thanks

@stanlea: for ardour3, yes, and the article that you’re commenting on describes how to do it.