marcmerlin / ArduinoOnPc-FastLED-GFX-LEDMatrix

Run code for SmartMatrix, Adafruit-GFX-Library, FastLED (2D), and LEDMatrix on linux/Raspberry Pi with X11, SDL, or on top of RGBPanels
http://marc.merlins.org/perso/arduino/post_2020-01-01_Running-FastLED_-Adafruit_GFX_-and-LEDMatrix-code-on-High-Resolution-RGBPanels-with-a-Raspberry-Pi.html
GNU Lesser General Public License v3.0
27 stars 3 forks source link

SDL backend customization #11

Open vortigont opened 1 year ago

vortigont commented 1 year ago

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?

marcmerlin commented 1 year ago

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.

vortigont commented 1 year ago

Nice, thanks! Will keep an eye on this.