Hey
I don't own any Arturia keyboard but I took a look at your Remote Codec+Map and I guess there's a couple of tips that might help you trim it down a bit (you're including files that are conflicting with eachother), so here's some info/tips:
There's 2 exclusive formats to use on the Remote Codec.
The old .midicodec or the new Lua based .lua+.luacodec so you shouldn't use both.
Also, if you remove the "Arturia49.midicodec" file, you could also remove also the unused "Arturia.lua" file and fix the "manufacturer" var arg to "Arturia" instead of "CME" and I guess the setup_info_text also needs some updating work, because of the UF-series mentions.
The Buttons on the "Arturia49.lua" codec file must be identified as such, so lines like these:
{name="Button 1", input="value", min=0, max=127},
should be like this:
{name="Button 1", input="button"},
and this is why you can't use those as buttons (unless there's another issue with the values being sent by the Arturia controller or the CC codes are wrong... can't confirm any of this since I don't have one to check).
hmmm... I think I didn't forget anything and that's about it