Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Without U8g2 button dynamically jump back #2097

Open
Luncer opened this issue Feb 10, 2023 · 1 comment
Open

Without U8g2 button dynamically jump back #2097

Luncer opened this issue Feb 10, 2023 · 1 comment

Comments

@Luncer
Copy link

Luncer commented Feb 10, 2023

Hello,
I would like to be able to jump the back above independently of the menu. Preferably with cursor save.

For this I have found the following:
uint8_t menu_form_id[MUI_MENU_CACHE_CNT];
uint8_t menu_form_cursor_focus_position[MUI_MENU_CACHE_CNT];

Here MUI_MENU_CACHE_CNT is used as array size.

but unfortunately it doesn't really work.

Can anyone help me with this?

@olikraus
Copy link
Owner

Description is a little bit short. Any more details.

In general https://github.com/olikraus/u8g2/wiki/muiref#jump-button will always store the current form so that you can jump back. Not sure about the cursor position. Do you use the latest MUI version? I think i did some improvements on the curser position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants