Add virtual navigation buttons to game launcher

- Display < PREV and NEXT > buttons at bottom of screen when multiple pages exist
- Buttons are touchable and respond to taps
- Button dimensions: 150x40 at y=235
- PREV button: x=30, NEXT button: x=200
- Updated instructions to show 'Touch buttons or KEY0/KEY1'
- Both KEY0/KEY1 and touch button presses navigate pages
- Updated lib/ and emulator/ versions
This commit is contained in:
Adolfo Reyna
2026-02-12 20:46:41 -05:00
parent b722b8b9c5
commit b5e69abc83
5 changed files with 96 additions and 28 deletions

View File

@@ -43,6 +43,11 @@ private:
static const int MENU_ITEM_HEIGHT = 40;
static const int MENU_PADDING = 10;
static const int GAMES_PER_PAGE = 4;
static const int NAV_BUTTON_Y = 235;
static const int PREV_BUTTON_X = 30;
static const int NEXT_BUTTON_X = 200;
static const int BUTTON_WIDTH = 150;
static const int BUTTON_HEIGHT = 40;
int get_total_pages() const;
int get_page_start_index() const;