Skip to content

Commit

Permalink
Merge pull request #7340 from zackhow/enable-touch-con
Browse files Browse the repository at this point in the history
Android: Set GC controller 1 to enabled if settings don't exist
  • Loading branch information
JosJuice committed Aug 19, 2018
2 parents b2880d0 + afc1876 commit c3b0208
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -481,7 +481,8 @@ private static void addGcPadSettingsIfTheyDontExist(HashMap<String, SettingSecti
String key = SettingsFile.KEY_GCPAD_TYPE + i;
if (coreSection.getSetting(key) == null)
{
Setting gcPadSetting = new IntSetting(key, Settings.SECTION_INI_CORE,0);
// Set GameCube controller 1 to enabled, all others disabled
Setting gcPadSetting = new IntSetting(key, Settings.SECTION_INI_CORE, i == 0 ? 6 : 0);
coreSection.putSetting(gcPadSetting);
}
}
Expand Down

0 comments on commit c3b0208

Please sign in to comment.