mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-11-18 20:07:55 +00:00
Better expose keyboard/joystick configurations
This commit is contained in:
parent
abfa6e743b
commit
f5fd2508bf
@ -43,6 +43,38 @@ public class Apple2InputSettingsMenu implements Apple2MenuView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum SETTINGS {
|
enum SETTINGS {
|
||||||
|
KEYBOARD_CONFIGURE {
|
||||||
|
@Override
|
||||||
|
public String getTitle(Apple2Activity activity) {
|
||||||
|
return activity.getResources().getString(R.string.keyboard_configure);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getSummary(Apple2Activity activity) {
|
||||||
|
return activity.getResources().getString(R.string.keyboard_configure_summary);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleSelection(final Apple2Activity activity, final Apple2InputSettingsMenu settingsMenu, boolean isChecked) {
|
||||||
|
//new Apple2KeyboardSettingsMenu().show();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
JOYSTICK_CONFIGURE {
|
||||||
|
@Override
|
||||||
|
public String getTitle(Apple2Activity activity) {
|
||||||
|
return activity.getResources().getString(R.string.joystick_configure);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getSummary(Apple2Activity activity) {
|
||||||
|
return activity.getResources().getString(R.string.joystick_configure_summary);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleSelection(final Apple2Activity activity, final Apple2InputSettingsMenu settingsMenu, boolean isChecked) {
|
||||||
|
//new Apple2JoystickSettingsMenu().show();
|
||||||
|
}
|
||||||
|
},
|
||||||
TOUCH_MENU_ENABLED {
|
TOUCH_MENU_ENABLED {
|
||||||
@Override
|
@Override
|
||||||
public String getTitle(Apple2Activity activity) {
|
public String getTitle(Apple2Activity activity) {
|
||||||
@ -169,38 +201,6 @@ public class Apple2InputSettingsMenu implements Apple2MenuView {
|
|||||||
});
|
});
|
||||||
builder.show();
|
builder.show();
|
||||||
}
|
}
|
||||||
},
|
|
||||||
JOYSTICK_CONFIGURE {
|
|
||||||
@Override
|
|
||||||
public String getTitle(Apple2Activity activity) {
|
|
||||||
return activity.getResources().getString(R.string.joystick_configure);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getSummary(Apple2Activity activity) {
|
|
||||||
return activity.getResources().getString(R.string.joystick_configure_summary);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void handleSelection(final Apple2Activity activity, final Apple2InputSettingsMenu settingsMenu, boolean isChecked) {
|
|
||||||
//new Apple2JoystickSettingsMenu().show();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
KEYBOARD_CONFIGURE {
|
|
||||||
@Override
|
|
||||||
public String getTitle(Apple2Activity activity) {
|
|
||||||
return activity.getResources().getString(R.string.keyboard_configure);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getSummary(Apple2Activity activity) {
|
|
||||||
return activity.getResources().getString(R.string.keyboard_configure_summary);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void handleSelection(final Apple2Activity activity, final Apple2InputSettingsMenu settingsMenu, boolean isChecked) {
|
|
||||||
//new Apple2KeyboardSettingsMenu().show();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
private static View _basicView(Apple2Activity activity, SETTINGS setting, View convertView) {
|
private static View _basicView(Apple2Activity activity, SETTINGS setting, View convertView) {
|
||||||
|
Loading…
Reference in New Issue
Block a user