Add Wiimote graphic

This commit is contained in:
sigmabeta 2016-02-06 18:46:37 -05:00
parent dd4082f216
commit c2d03e62e7
10 changed files with 9 additions and 4 deletions

View File

@ -56,8 +56,11 @@ public final class MainPresenter
case R.id.menu_settings_wiimote: case R.id.menu_settings_wiimote:
mView.launchSettingsActivity(SettingsFile.FILE_NAME_WIIMOTE); mView.launchSettingsActivity(SettingsFile.FILE_NAME_WIIMOTE);
return true;
case R.id.menu_refresh: case R.id.menu_refresh:
GameDatabase databaseHelper = DolphinApplication.databaseHelper;
databaseHelper.scanLibrary(databaseHelper.getWritableDatabase());
mView.refresh(); mView.refresh();
return true; return true;

View File

@ -80,7 +80,7 @@ public interface SettingsActivityView
void onGcPadSettingChanged(String key, int value); 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. * was modified.
* *
* @param section Identifier for Wiimote that was modified; Wiimotes are identified by their section, * @param section Identifier for Wiimote that was modified; Wiimotes are identified by their section,

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -162,7 +162,7 @@
<string-array name="wiimoteTypeEntries"> <string-array name="wiimoteTypeEntries">
<item>Disabled</item> <item>Disabled</item>
<item>Emulated</item> <item>Emulated</item>
<item>"Real Wiimote (DolphinBar required)"</item> <item>Real Wiimote (DolphinBar required)</item>
</string-array> </string-array>
<integer-array name="wiimoteTypeValues"> <integer-array name="wiimoteTypeValues">
<item>0</item> <item>0</item>

View File

@ -79,7 +79,8 @@
<string name="controller_gc">GameCube Controllers</string> <string name="controller_gc">GameCube Controllers</string>
<string name="controller_wii">Wii Controllers (Wiimotes)</string> <string name="controller_wii">Wii Controllers (Wiimotes)</string>
<!-- WARNING Do not move these controller entries AT ALL COSTS! --> <!-- WARNING Do not move these controller entries AT ALL COSTS! They are indexed with ints, and an assumption
is made that they are placed together so that we can access them sequentially in a loop. -->
<string name="controller_0">GameCube Controller 1</string> <string name="controller_0">GameCube Controller 1</string>
<string name="controller_1">GameCube Controller 2</string> <string name="controller_1">GameCube Controller 2</string>
<string name="controller_2">GameCube Controller 3</string> <string name="controller_2">GameCube Controller 3</string>
@ -96,7 +97,8 @@
<string name="analog_radius">Analog Radius (High value = High sensitivity)</string> <string name="analog_radius">Analog Radius (High value = High sensitivity)</string>
<string name="analog_threshold">Analog Threshold (Low value = High sensitivity)</string> <string name="analog_threshold">Analog Threshold (Low value = High sensitivity)</string>
<!-- WARNING Do not move these controller entries AT ALL COSTS! --> <!-- WARNING Do not move these controller entries AT ALL COSTS! They are indexed with ints, and an assumption
is made that they are placed together so that we can access them sequentially in a loop. -->
<string name="wiimote_0">Wiimote 1</string> <string name="wiimote_0">Wiimote 1</string>
<string name="wiimote_1">Wiimote 2</string> <string name="wiimote_1">Wiimote 2</string>
<string name="wiimote_2">Wiimote 3</string> <string name="wiimote_2">Wiimote 3</string>