I have some suggestions and hope you (anyone) have some time to implement these for my Mk2.
I tried it self to include some stuff from bequadro's script
but it fails glorious.
I'm not a programmer and this API is too abstract for me.
Pad toggle lit:
When Play is off Pad LED off; when Play is on Pad LED on. Also on Rec. Stop always on.
Also scroll devices [on > yellow; push > green
] and remote pages [on > purple; push > green
Also it must be react bidirectional. When pushing Play with mouse Pad LED must also switch to on.
Maybe its better to reprogram with Arturia Midi Control Center the Pads 1-8 to switches and not note playing and Pads 9-16 playing normal as notes?
Pad 5 open Preset Browser panel for selected device
Knob 7 Song position.
Knob 8 pan and Knob 16 volume of the selected track.
Knob 15 track selection.
Knob 1 click resets all macros to 0. Better is reset to preset default values!
Or better the Pad 1 & 2 as up & down cursor e.g. when browser pane is open switch between presets, samples, etc.
When track list selected switch between track selection and so on.
..that's it i think
Edit: Little tweaked by me: https://pastebin.com/f2ZJHPTc
My Knob8 & 16 doesn't work!