mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-03 03:11:57 +00:00
feat(eink): landscape and portrait builds, 8x13 font in landscape
The L1 e-ink solo build splits in two, one per screen shape, so each screen can be laid out for a single shape. Settings > Rotation now only turns the screen upside down, and the joystick turns with it. Landscape writes in misc-fixed 8x13 at the panel's own resolution (EINK_LARGE_FONT); portrait keeps the 6x9. All drawing moves into EinkGfxDisplay, which the panel driver and the simulator share; the FreeSans fonts and the CRC32 library go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,13 @@
|
||||
// would split the build the day this is flipped to 1.
|
||||
#define FEAT_RX_POWERSAVE 0
|
||||
|
||||
// The display rotation at which the joystick's own up reads as up. An e-ink
|
||||
// panel turned from it turns the joystick with it (UITask), on top of the
|
||||
// Joystick setting. Unset, the build's own rotation: only a flip turns it.
|
||||
#if defined(DISPLAY_ROTATION) && !defined(JOYSTICK_UPRIGHT_ROTATION)
|
||||
#define JOYSTICK_UPRIGHT_ROTATION DISPLAY_ROTATION
|
||||
#endif
|
||||
|
||||
namespace Features {
|
||||
|
||||
#if defined(EINK_DISPLAY_MODEL)
|
||||
|
||||
Reference in New Issue
Block a user