Remove 'back as menu toggle' setting

This commit is contained in:
twinaphex 2016-11-21 13:05:23 +01:00
parent 36fb6e100e
commit 95254aa79b
14 changed files with 0 additions and 55 deletions

View File

@ -620,10 +620,6 @@ static unsigned input_backtouch_enable = false;
static unsigned input_backtouch_toggle = false;
#endif
#ifdef ANDROID
static bool back_as_menu_toggle_enable = true;
#endif
static bool all_users_control_menu = false;
#if defined(ANDROID) || defined(_WIN32)

View File

@ -697,7 +697,6 @@ static int populate_settings_bool(settings_t *settings, struct config_bool_setti
SETTING_BOOL("ui_companion_enable", &settings->ui.companion_enable, true, ui_companion_enable, false);
SETTING_BOOL("video_gpu_record", &settings->video.gpu_record, true, gpu_record, false);
SETTING_BOOL("input_remap_binds_enable", &settings->input.remap_binds_enable, true, true, false);
SETTING_BOOL("back_as_menu_toggle_enable", &settings->input.back_as_menu_toggle_enable, true, true, false);
SETTING_BOOL("all_users_control_menu", &settings->input.all_users_control_menu, true, all_users_control_menu, false);
SETTING_BOOL("menu_swap_ok_cancel_buttons", &settings->input.menu_swap_ok_cancel_buttons, true, menu_swap_ok_cancel_buttons, false);
#ifdef HAVE_NETWORKING

View File

@ -294,7 +294,6 @@ typedef struct settings
bool input_descriptor_hide_unbound;
unsigned menu_toggle_gamepad_combo;
bool back_as_menu_toggle_enable;
bool all_users_control_menu;
bool menu_swap_ok_cancel_buttons;

View File

@ -924,10 +924,6 @@ static void handle_hotplug(android_input_data_t *android_data,
name_buf, sizeof(settings->input.device_names[*port]));
}
if (!back_mapped && settings->input.back_as_menu_toggle_enable)
settings->input.autoconf_binds[*port]
[RARCH_MENU_TOGGLE].joykey = AKEYCODE_BACK;
android_data->pad_states[android_data->pads_connected].id = id;
android_data->pad_states[android_data->pads_connected].port = *port;
strlcpy(android_data->pad_states[*port].name, name_buf,

View File

@ -2276,8 +2276,6 @@ static const char *menu_hash_to_str_chs_label_enum(enum msg_hash_enums msg)
return "input_autodetect_enable";
case MENU_ENUM_LABEL_INPUT_AXIS_THRESHOLD:
return "input_axis_threshold";
case MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "back_as_menu_toggle_enable";
case MENU_ENUM_LABEL_INPUT_BIND_MODE:
return "input_bind_mode";
case MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT:
@ -3361,8 +3359,6 @@ const char *msg_hash_to_str_chs(enum msg_hash_enums msg)
return "启用自动配置";
case MENU_ENUM_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
return "输入轴阈值";
case MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "将返回作为菜单切出键";
case MENU_ENUM_LABEL_VALUE_INPUT_BIND_ALL:
return "绑定全部";
case MENU_ENUM_LABEL_VALUE_INPUT_BIND_DEFAULT_ALL:

View File

@ -1298,8 +1298,6 @@ const char *msg_hash_to_str_es(enum msg_hash_enums msg)
return "¿Qué es un núcleo?";
case MENU_ENUM_LABEL_VALUE_INFORMATION_LIST:
return "Información";
case MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "Permitir alternar Back como menú";
case MENU_ENUM_LABEL_VALUE_INPUT_ICADE_ENABLE:
return "Activar asignar mando al teclado";
case MENU_ENUM_LABEL_VALUE_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE:

View File

@ -1177,8 +1177,6 @@ const char *msg_hash_to_str_it(enum msg_hash_enums msg)
return "Che cosa è un core?";
case MENU_ENUM_LABEL_VALUE_INFORMATION_LIST:
return "Informazioni";
case MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE:
return "Indietro quando il menù a comparsa è abilitato";
case MENU_ENUM_LABEL_VALUE_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE:
return "Tipologia di mappatura gamepad tastiera";
case MENU_ENUM_LABEL_VALUE_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO:

View File

@ -2306,8 +2306,6 @@ static const char *menu_hash_to_str_jp_label_enum(enum msg_hash_enums msg)
return "input_autodetect_enable";
case MENU_ENUM_LABEL_INPUT_AXIS_THRESHOLD:
return "input_axis_threshold";
case MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "back_as_menu_toggle_enable";
case MENU_ENUM_LABEL_INPUT_BIND_MODE:
return "input_bind_mode";
case MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT:
@ -3391,8 +3389,6 @@ const char *msg_hash_to_str_jp(enum msg_hash_enums msg)
return "自動コンフィグを有効";
case MENU_ENUM_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
return "入力軸のしきい値";
case MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "Back As Menu Toggle Enable";
case MENU_ENUM_LABEL_VALUE_INPUT_BIND_ALL:
return "全てをバインド";
case MENU_ENUM_LABEL_VALUE_INPUT_BIND_DEFAULT_ALL:

View File

@ -414,8 +414,6 @@ MSG_HASH(MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE,
"input_autodetect_enable")
MSG_HASH(MENU_ENUM_LABEL_INPUT_AXIS_THRESHOLD,
"input_axis_threshold")
MSG_HASH(MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE,
"back_as_menu_toggle_enable")
MSG_HASH(MENU_ENUM_LABEL_INPUT_BIND_MODE,
"input_bind_mode")
MSG_HASH(MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT,

View File

@ -295,8 +295,6 @@ const char *msg_hash_to_str_nl(enum msg_hash_enums msg)
return "Autoconfiguratie Activeren";
case MENU_ENUM_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
return "Invoer As Threshold"; /* TODO/FIXME */
case MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE:
return "Terug als Menu Schakelaar";
case MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND:
return "Verbergen Niet-gemapte Core Input Descripties";
case MENU_ENUM_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW:

View File

@ -614,8 +614,6 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_INPUT_AXIS_THRESHOLD,
"Analog Stick Deadzone")
MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_INPUT_SWAP_OK_CANCEL,
"Menu Swap Ok & Cancel Buttons")
MSG_HASH(MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE,
"Back As Menu Toggle Enable")
MSG_HASH(MENU_ENUM_LABEL_VALUE_INPUT_BIND_ALL,
"Bind All")
MSG_HASH(MENU_ENUM_LABEL_VALUE_INPUT_BIND_DEFAULT_ALL,

View File

@ -2308,8 +2308,6 @@ static const char *menu_hash_to_str_vn_label_enum(enum msg_hash_enums msg)
return "input_autodetect_enable";
case MENU_ENUM_LABEL_INPUT_AXIS_THRESHOLD:
return "input_axis_threshold";
case MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "back_as_menu_toggle_enable";
case MENU_ENUM_LABEL_INPUT_BIND_MODE:
return "input_bind_mode";
case MENU_ENUM_LABEL_INPUT_BIND_TIMEOUT:
@ -3395,8 +3393,6 @@ const char *msg_hash_to_str_vn(enum msg_hash_enums msg)
return "Autoconfig Enable";
case MENU_ENUM_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
return "Input Axis Threshold";
case MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE:
return "Back As Menu Toggle Enable";
case MENU_ENUM_LABEL_VALUE_INPUT_BIND_ALL:
return "Bind All";
case MENU_ENUM_LABEL_VALUE_INPUT_BIND_DEFAULT_ALL:

View File

@ -3956,24 +3956,6 @@ static bool setting_append_list(
);
#endif
#ifdef ANDROID
CONFIG_BOOL(
list, list_info,
&settings->input.back_as_menu_toggle_enable,
MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE,
back_as_menu_toggle_enable,
MENU_ENUM_LABEL_VALUE_OFF,
MENU_ENUM_LABEL_VALUE_ON,
&group_info,
&subgroup_info,
parent_group,
general_write_handler,
general_read_handler,
SD_FLAG_NONE
);
#endif
CONFIG_UINT(
list, list_info,
&settings->input.menu_toggle_gamepad_combo,

View File

@ -427,14 +427,11 @@ enum msg_hash_enums
MENU_ENUM_LABEL_INPUT_LIBRETRO_DEVICE_LAST = MENU_ENUM_LABEL_INPUT_LIBRETRO_DEVICE + MAX_USERS,
MENU_ENUM_LABEL_INPUT_PLAYER_ANALOG_DPAD_MODE,
MENU_ENUM_LABEL_INPUT_PLAYER_ANALOG_DPAD_MODE_LAST = MENU_ENUM_LABEL_INPUT_PLAYER_ANALOG_DPAD_MODE + MAX_USERS,
MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE,
MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE_ENABLE,
MENU_ENUM_LABEL_INPUT_HOTKEY_BINDS_BEGIN,
MENU_ENUM_LABEL_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE,
MENU_ENUM_LABEL_INPUT_SETTINGS,
MENU_ENUM_LABEL_INPUT_SETTINGS_BEGIN,
MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU,
MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE,
MENU_ENUM_LABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO,
MENU_ENUM_LABEL_INPUT_HOTKEY_BINDS,
MENU_ENUM_LABEL_INPUT_OSK_OVERLAY_ENABLE,
@ -571,11 +568,9 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_HOTKEY_BINDS,
MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_ENUM_TOGGLE_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO,
MENU_ENUM_LABEL_VALUE_INPUT_OVERLAY_HIDE_IN_MENU,
MENU_ENUM_LABEL_VALUE_INPUT_KEYBOARD_GAMEPAD_MAPPING_TYPE,
MENU_ENUM_LABEL_VALUE_INPUT_BACK_AS_MENU_TOGGLE_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_SMALL_KEYBOARD_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_TOUCH_ENABLE,
MENU_ENUM_LABEL_VALUE_INPUT_PREFER_FRONT_TOUCH,