The nanoPAD2 has 2 rows of 8 pads each. By default the pads send MIDI note on/off messages and there are 4 selectable scenes that let you switch to higher note ranges. In total this works out to a grid of 2 * 8 * 4 = 64 notes. The script lets you use the pads to trigger clips in Bitwig. It supports 8 tracks and 8 scene clips per track. The top row of the nanoPAD2 corresponds to track 1 in Bitwig with each pad in the row corresponding to a scene clip in Bitwig’s clip launcher. You use the scene button on the nanoPAD2 to navigate from track 1 and 2 (scene 1 on the nano) to tracks 3 and 4 (scene 2) and so on.
If you’d like to try the script out you can find it at https://github.com/benschmaus/nanopad2-bitwig.
Bitwig’s API is very full-featured and well-documented, and it was pretty straightforward to get a script up and running.
For script development, Bitwig provides a console that lets you view log output from your script.
And feel free to drop me a line if you check out the nanoPAD2 script and have feedback!