Android: Add controller settings to ingame menu

This commit is contained in:
Connor McLaughlin 2021-03-16 01:09:57 +10:00
parent a0086851ce
commit a34f0d5599
7 changed files with 14 additions and 0 deletions

View File

@ -547,6 +547,14 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde
} }
case 4: // Settings case 4: // Settings
{
Intent intent = new Intent(EmulationActivity.this, ControllerSettingsActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivityForResult(intent, REQUEST_CODE_SETTINGS);
return;
}
case 5: // Controller Settings
{ {
Intent intent = new Intent(EmulationActivity.this, SettingsActivity.class); Intent intent = new Intent(EmulationActivity.this, SettingsActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

View File

@ -94,6 +94,7 @@
<item>Código de Trucos</item> <item>Código de Trucos</item>
<item>Cambiar Disco</item> <item>Cambiar Disco</item>
<item>Cambiar Control de Pantalla Tactil</item> <item>Cambiar Control de Pantalla Tactil</item>
<item>Controller Settings</item>
<item>Configuraciones</item> <item>Configuraciones</item>
</string-array> </string-array>
<string-array name="settings_cdrom_read_speedup_entries"> <string-array name="settings_cdrom_read_speedup_entries">

View File

@ -94,6 +94,7 @@
<item>Codici Patch</item> <item>Codici Patch</item>
<item>Cambia Disco</item> <item>Cambia Disco</item>
<item>Cambia Controller Touchscreen</item> <item>Cambia Controller Touchscreen</item>
<item>Controller Settings</item>
<item>Impostazioni</item> <item>Impostazioni</item>
</string-array> </string-array>
<string-array name="settings_cdrom_read_speedup_entries"> <string-array name="settings_cdrom_read_speedup_entries">

View File

@ -94,6 +94,7 @@
<item>Patch Codes</item> <item>Patch Codes</item>
<item>Disc Veranderen</item> <item>Disc Veranderen</item>
<item>Touchscreen Controller Aanpassen</item> <item>Touchscreen Controller Aanpassen</item>
<item>Controller Settings</item>
<item>Instellingen</item> <item>Instellingen</item>
</string-array> </string-array>
<string-array name="settings_cdrom_read_speedup_entries"> <string-array name="settings_cdrom_read_speedup_entries">

View File

@ -94,6 +94,7 @@
<item>Trapaças</item> <item>Trapaças</item>
<item>Mudar Disco</item> <item>Mudar Disco</item>
<item>Mudar controle em Tela</item> <item>Mudar controle em Tela</item>
<item>Controller Settings</item>
<item>Configurações</item> <item>Configurações</item>
</string-array> </string-array>
<string-array name="emulation_touchscreen_menu"> <string-array name="emulation_touchscreen_menu">

View File

@ -94,6 +94,7 @@
<item>Чит-коды</item> <item>Чит-коды</item>
<item>Сменить диск</item> <item>Сменить диск</item>
<item>Настроить экранный геймпад</item> <item>Настроить экранный геймпад</item>
<item>Controller Settings</item>
<item>Настройки эмулятора</item> <item>Настройки эмулятора</item>
</string-array> </string-array>
<string-array name="emulation_touchscreen_menu"> <string-array name="emulation_touchscreen_menu">

View File

@ -176,6 +176,7 @@
<item>Patch Codes</item> <item>Patch Codes</item>
<item>Change Disc</item> <item>Change Disc</item>
<item>Change Touchscreen Controller</item> <item>Change Touchscreen Controller</item>
<item>Controller Settings</item>
<item>Settings</item> <item>Settings</item>
</string-array> </string-array>
<string-array name="emulation_touchscreen_menu"> <string-array name="emulation_touchscreen_menu">