mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
Swaps which physical input plays which role on the Heltec V3/V4 wired joystick: the stick's own fifth "press" contact now drives Enter (your thumb's already on the stick when you'd confirm something), and the onboard PRG button -- previously Enter -- becomes Back instead, so it no longer needs a separate wired button of its own. Pure pin reassignment in the solo_dual envs, no UITask.cpp changes: PIN_USER_BTN (Enter) is undef'd and redefined from the base env's PRG default to the joystick's press pin, and PIN_BACK_BTN takes PRG's old GPIO0. Scoped to just these two envs -- Wio Tracker L1/GAT562/MeshTiny share the same UI_HAS_JOYSTICK code path with PRG already correctly wired as their one true physical button, so their behaviour is untouched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>