wrote it the other day so haven’t documented it yet, but here’s the gist:
download that library & unzip, add the ledmap folder to dust/code
at the top of a script or anywhere outside of a function, add lm = include 'ledmap/lib/ledmap'
at the bottom of the init function, add add lm:map(g, '2011') (this is the 2011 grid preset, alternatively you can send a table with 16 ints which remap every input level)
function init()
...
lm:map(g, '2011')
end
(note: by convention the grid variable is named g, but the author could’ve named it something else)
optional: add led:unmap(g) to the cleanup function if you don’t want the mapping to persist between sessions, but usually this is not a big deal