complicated thoughts on c/c++

This commit is contained in:
2026-03-19 00:35:16 +01:00
parent 27720d4f54
commit bdf106b55c

View File

@@ -16,7 +16,7 @@ Same as plugins. Just write in more features scrub, learn some C++, damn
- In the LCDDisplay lib, reimplement all the features I have in picoSmartie + maybe finally add keypad support for both so I can toggle backlight (?) or change screens if I want any
- Screens could be automatic tbh, like if it detects media playing it switches to media screen, if in media screen and GPU power > 80W it switches to main (hwmon) screen
- Try to be C++26, avoid globals, wrap in namespaces, use naming conventions, use classes, avoid pure C way of doing things unless it makes more sense (which it often does tbh, better for reading small files)
- **HUGE REWRITE FROM SCRATCH IN C LIKE GOD ALWAYS INTENDED**
- **HUGE REWRITE FROM SCRATCH IN C LIKE GOD ALWAYS INTENDED** but fuuuuck display thread would be so painful without std::string. And I really would need to start a whole ass project from a clean slate since I made it a point to use a lot of C++ features which now bite me in the ass. Fuck it man let's leave it. Make it C++17 or 20 or sth so it compiles on yo mama or sth.
## LCD layout
It looks something like this