Hi Matt
Put it on the command line when you call your compiled program
eg sudo ./demo -D0 --led-gpio-mapping=“adafruit-hat”
or hardcode it into your code. It’s part of the Options structure (defined in include/led-matrix.h) passed into RGBMatrix::CreateFromOptions when creating the matrix .
Hope this makes sense and helps