mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Android: Move Sideways Wii Remote setting one submenu up
A slight departure from DolphinQt, but I think it makes sense, because it will make the important Sideways Wii Remote setting easier to find.
This commit is contained in:
parent
e7530a1cb9
commit
a78dca5fb0
@ -1127,8 +1127,10 @@ public final class SettingsFragmentPresenter
|
||||
sl.add(new SubmenuSetting(mContext, R.string.wiimote_motion_input,
|
||||
MenuTag.getWiimoteMotionInputMenuTag(wiimoteNumber)));
|
||||
|
||||
// TYPE_OTHER is included here instead of in addWiimoteGeneralSubSettings so that touchscreen
|
||||
// users won't have to dig into a submenu to find the Sideways Wii Remote setting
|
||||
addControllerSettings(sl, EmulatedController.getWiimote(wiimoteNumber),
|
||||
Collections.singleton(ControlGroup.TYPE_ATTACHMENTS));
|
||||
new ArraySet<>(Arrays.asList(ControlGroup.TYPE_ATTACHMENTS, ControlGroup.TYPE_OTHER)));
|
||||
}
|
||||
|
||||
private void addExtensionTypeSettings(ArrayList<SettingsItem> sl, int wiimoteNumber,
|
||||
@ -1141,7 +1143,7 @@ public final class SettingsFragmentPresenter
|
||||
private void addWiimoteGeneralSubSettings(ArrayList<SettingsItem> sl, int wiimoteNumber)
|
||||
{
|
||||
addControllerSettings(sl, EmulatedController.getWiimote(wiimoteNumber),
|
||||
new ArraySet<>(Arrays.asList(ControlGroup.TYPE_BUTTONS, ControlGroup.TYPE_OTHER)));
|
||||
Collections.singleton(ControlGroup.TYPE_BUTTONS));
|
||||
}
|
||||
|
||||
private void addWiimoteMotionSimulationSubSettings(ArrayList<SettingsItem> sl, int wiimoteNumber)
|
||||
|
@ -22,7 +22,7 @@
|
||||
<string name="wiimote_extension_3">Wii Remote Extension 4</string>
|
||||
|
||||
<string name="wiimote">Wii Remote</string>
|
||||
<string name="wiimote_general">General and Options</string>
|
||||
<string name="wiimote_general">Buttons</string>
|
||||
<string name="wiimote_motion_simulation">Motion Simulation</string>
|
||||
<string name="wiimote_motion_input">Motion Input</string>
|
||||
<string name="wiimote_extensions">Extension</string>
|
||||
|
Loading…
Reference in New Issue
Block a user