diff --git a/configurator/src/helper.c b/configurator/src/helper.c index 878250a..e86c547 100644 --- a/configurator/src/helper.c +++ b/configurator/src/helper.c @@ -340,7 +340,7 @@ int display_paginated_content(char *file_array, int num_files, int page_size, ch int current_index = 0; locate(0, 22); printf("Use [UP] and [DOWN] arrows to select. [LEFT] and [RIGHT] to paginate.\r\n"); - printf("Press [ENTER] to load it. [ESC] to return to main menu."); + printf("Press [ENTER] or [RETURN] to load. [ESC] to return to main menu."); while (selected_rom < 0) { @@ -437,6 +437,7 @@ int display_paginated_content(char *file_array, int num_files, int page_size, ch } break; case KEY_ENTER: + case KEY_RETURN: selected_rom = current_index + 1; return selected_rom; case KEY_ESC: diff --git a/configurator/src/include/helper.h b/configurator/src/include/helper.h index 34956f6..c6502e5 100644 --- a/configurator/src/include/helper.h +++ b/configurator/src/include/helper.h @@ -83,7 +83,8 @@ static __uint32_t random_number = 0x0; #define KEY_DOWN_ARROW 0x500000 #define KEY_LEFT_ARROW 0x4B0000 #define KEY_RIGHT_ARROW 0x4D0000 -#define KEY_ENTER 0x1C000D +#define KEY_RETURN 0x1C000D +#define KEY_ENTER 0x72000D #define KEY_ESC 0x1001B #define PRINT_APP_HEADER(version) \