ArduinoOnPc-FastLED-GFX-LEDMatrix icon indicating copy to clipboard operation
ArduinoOnPc-FastLED-GFX-LEDMatrix copied to clipboard

SDL backend customization

Open vortigont opened this issue 2 years ago • 2 comments

Hi @marcmerlin, Tnx for this nice implementation of SDL backend! Just wanted to ask for some help in customizing your SDL backend driver for linux. Is there a way to customize/set display window size and emulated LED's size accordingly? Currently I'm running mostly small displays like 16x16 or 32x32 and resulting window is so small that it's not comfortable to actually use it. maybe you can point me to the right place where it could be adjusted?

vortigont avatar Apr 25 '23 04:04 vortigont

For SDL, that is the code I didn't write and inherited from https://github.com/ChrisMicro/ArduinoOnPc

I filed https://github.com/ChrisMicro/ArduinoOnPc/issues/14 for you, hopefully @chrismicro can help, as I've never read/looked at that part of the code. From what I've seen it already does some pixel doubling or the pixels would be way too small, but you probably need to double a few more times.

marcmerlin avatar Apr 25 '23 04:04 marcmerlin

Nice, thanks! Will keep an eye on this.

vortigont avatar Apr 25 '23 05:04 vortigont