Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL backend customization #11

Open
vortigont opened this issue Apr 25, 2023 · 2 comments
Open

SDL backend customization #11

vortigont opened this issue Apr 25, 2023 · 2 comments

Comments

@vortigont
Copy link

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
Copy link
Owner

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

I filed ChrisMicro#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
Copy link
Author

Nice, thanks! Will keep an eye on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants