diff --git a/src/menu/actions.c b/src/menu/actions.c index 8bb58587..dcabccff 100644 --- a/src/menu/actions.c +++ b/src/menu/actions.c @@ -21,6 +21,8 @@ static void actions_clear (menu_t *menu) { menu->actions.back = false; menu->actions.options = false; menu->actions.settings = false; + menu->actions.l_context = false; + menu->actions.z_context = false; } static void actions_update_direction (menu_t *menu) { @@ -91,6 +93,10 @@ static void actions_update_buttons (menu_t *menu) { menu->actions.options = true; } else if (pressed.start) { menu->actions.settings = true; + } else if (pressed.l) { + menu->actions.l_context = true; + } else if (pressed.z) { + menu->actions.z_context = true; } } diff --git a/src/menu/menu_state.h b/src/menu/menu_state.h index c2ad221d..5077da4e 100644 --- a/src/menu/menu_state.h +++ b/src/menu/menu_state.h @@ -85,6 +85,8 @@ typedef struct { bool back; bool options; bool settings; + bool l_context; + bool z_context; } actions; struct {