MIDI translator(?) for Mac

I’m trying to get an Arturia Keylab Essential mk3 to control Ardour properly. At the moment the keybed and transport functions work but faders and encoders don’t so I need a way to remap the CC commands coming out of the KL Essential to map to faders and eg pans in Ardour. Any ideas?

There’s already an Arturia Keylab 49 example that comes with Ardour.