diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/main/MainPresenter.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/main/MainPresenter.java index b0f9358852..ecffb14ac0 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/main/MainPresenter.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/main/MainPresenter.java @@ -56,8 +56,11 @@ public final class MainPresenter case R.id.menu_settings_wiimote: mView.launchSettingsActivity(SettingsFile.FILE_NAME_WIIMOTE); + return true; case R.id.menu_refresh: + GameDatabase databaseHelper = DolphinApplication.databaseHelper; + databaseHelper.scanLibrary(databaseHelper.getWritableDatabase()); mView.refresh(); return true; diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/settings/SettingsActivityView.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/settings/SettingsActivityView.java index 8276077505..62bb51a9a2 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/settings/SettingsActivityView.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/settings/SettingsActivityView.java @@ -80,7 +80,7 @@ public interface SettingsActivityView void onGcPadSettingChanged(String key, int value); /** - * Called by a containing Fragment tell the containing Activity that a Wiimote's setting + * Called by a containing Fragment to tell the containing Activity that a Wiimote's setting * was modified. * * @param section Identifier for Wiimote that was modified; Wiimotes are identified by their section, diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_settings_wiimote.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_settings_wiimote.png new file mode 100644 index 0000000000..acd29054c7 Binary files /dev/null and b/Source/Android/app/src/main/res/drawable-hdpi/ic_settings_wiimote.png differ diff --git a/Source/Android/app/src/main/res/drawable-mdpi/ic_settings_wiimote.png b/Source/Android/app/src/main/res/drawable-mdpi/ic_settings_wiimote.png new file mode 100644 index 0000000000..0f6d19efb1 Binary files /dev/null and b/Source/Android/app/src/main/res/drawable-mdpi/ic_settings_wiimote.png differ diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_settings_wiimote.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_settings_wiimote.png new file mode 100644 index 0000000000..18d80a7f28 Binary files /dev/null and b/Source/Android/app/src/main/res/drawable-xhdpi/ic_settings_wiimote.png differ diff --git a/Source/Android/app/src/main/res/drawable-xxhdpi/ic_settings_wiimote.png b/Source/Android/app/src/main/res/drawable-xxhdpi/ic_settings_wiimote.png new file mode 100644 index 0000000000..6dfcad3797 Binary files /dev/null and b/Source/Android/app/src/main/res/drawable-xxhdpi/ic_settings_wiimote.png differ diff --git a/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_settings_wiimote.png b/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_settings_wiimote.png new file mode 100644 index 0000000000..489f5f5eb6 Binary files /dev/null and b/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_settings_wiimote.png differ diff --git a/Source/Android/app/src/main/res/drawable/ic_settings_wiimote.png b/Source/Android/app/src/main/res/drawable/ic_settings_wiimote.png new file mode 100644 index 0000000000..489f5f5eb6 Binary files /dev/null and b/Source/Android/app/src/main/res/drawable/ic_settings_wiimote.png differ diff --git a/Source/Android/app/src/main/res/values/arrays.xml b/Source/Android/app/src/main/res/values/arrays.xml index 25cbec179a..4335648861 100644 --- a/Source/Android/app/src/main/res/values/arrays.xml +++ b/Source/Android/app/src/main/res/values/arrays.xml @@ -162,7 +162,7 @@ Disabled Emulated - "Real Wiimote (DolphinBar required)" + Real Wiimote (DolphinBar required) 0 diff --git a/Source/Android/app/src/main/res/values/strings.xml b/Source/Android/app/src/main/res/values/strings.xml index 60acc28c70..40b6b5aa22 100644 --- a/Source/Android/app/src/main/res/values/strings.xml +++ b/Source/Android/app/src/main/res/values/strings.xml @@ -79,7 +79,8 @@ GameCube Controllers Wii Controllers (Wiimotes) - + GameCube Controller 1 GameCube Controller 2 GameCube Controller 3 @@ -96,7 +97,8 @@ Analog Radius (High value = High sensitivity) Analog Threshold (Low value = High sensitivity) - + Wiimote 1 Wiimote 2 Wiimote 3