Companion UI: runtime setting to flip the display 180° (e.g. Meshnology N37E)

Aperta
#4,023 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
embedded-iot

Direzione di ricerca

Read the display rotation handling for GxEPDDisplay, the DISPLAY_ROTATION build setting, and the companion CLI’s existing ui.* settings. Trace how joystick directions are mapped alongside display orientation. Add a runtime setting that rotates the display 180° and swaps both joystick axes; verify it on the N37E as proposed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The Meshnology N37E (Wio Tracker L1 E-ink in a 3D-printed enclosure) can only be
assembled with the display upside down relative to MeshCore's default orientation.
Today the only way to fix that is a custom build with a different DISPLAY_ROTATION,
and then the joystick directions are reversed as well.

Meshtastic has a display rotation setting for this, and the N37E build guide uses it.

Proposal: a companion CLI setting, e.g. set ui.flip on|off, stored with the other
ui.* settings, that rotates the display 180° (1 <-> 3 for GxEPDDisplay) and swaps
the joystick up/down and left/right accordingly.

I can implement and test it on an N37E if this direction is acceptable.

Lingua principale
C
Stelle
3.9k
Fork
1.5k
Merge medio
2g 19h
PR unite (30g)
61

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di meshcore-dev/MeshCore

Tutte le issue di meshcore-dev/MeshCore

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.