use select for back to info center on vita, to make screenshots possible again

This commit is contained in:
olebeck 2025-08-10 13:13:30 +02:00
parent df743f901b
commit 593706da00
3 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<stringset>
<!-- Main Page -->
<string id="msg_unfinished" src="the config app does not save the config yet!"/>
<string id="msg_lego_island_config" src="Lego Island Config"/>
<string id="msg_page_game" src="Game" />
<string id="msg_page_graphics" src="Graphics" />

View File

@ -2,6 +2,8 @@
<application_settings version="1.0" bg_color="4.0, 21.0, 105.0, 255.0">
<setting_list id="lego_island_config" title="msg_lego_island_config">
<label id="unfinished_label" title="msg_unfinished" style="heading"/>
<setting_list id="page_game" title="msg_page_game" style="edit" icon="tex_spanner">
<text_field id="data_path" title="msg_data_path" max_length="255" min_length="0" keyboard_type="alphabet" key="data_path" default_value=""/>
<text_field id="save_path" title="msg_save_path" max_length="255" min_length="0" keyboard_type="alphabet" key="save_path" default_value=""/>

View File

@ -605,7 +605,11 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event)
}
break;
#ifdef __vita__ // conflicts with screenshot button combination
case SDL_GAMEPAD_BUTTON_BACK:
#else
case SDL_GAMEPAD_BUTTON_START:
#endif
if (InputManager()) {
InputManager()->QueueEvent(c_notificationKeyPress, SDLK_ESCAPE, 0, 0, SDLK_ESCAPE);
}