u8g2
u8g2 copied to clipboard
MUI: API Functions for a 'back' button
Hello @olikraus ,
I have implemented up and down buttons, prevField and nextField respectively.
I have implemented a select button, sendSelect,
What I cant figure out is how to implement a back button.
Requirement: API call which does a sendBack() function, returning to the previous MUI_FORM on the previous cursor position.
We can use gotoForm as a back button, and track the form ID needed depending on the current form displayed, however gotoForm requires an initial position, which gives odd UI/UX performance.
An API call for currentCursor(), currentForm(), would also suffice, as then we could retain the position and form independent and use gotoForm anyway we'd like.
Unless I am missing something, this seems to be a needed feature for 4 button control (up/down , previous/next)
Thanks!