(RARCH_CONSOLE) Now uses same menu input binds for menu as

PC - allows analog sticks to be used for navigation as well
for consoles
This commit is contained in:
twinaphex 2014-05-31 05:41:32 +02:00
parent a5daca5946
commit 261ac0e3e7
2 changed files with 0 additions and 7 deletions

View File

@ -431,11 +431,7 @@ uint64_t menu_input(void)
{
unsigned i;
uint64_t input_state;
#ifdef RARCH_CONSOLE
static const struct retro_keybind *binds[] = { g_settings.input.menu_binds };
#else
static const struct retro_keybind *binds[] = { g_settings.input.binds[0] };
#endif
rgui_handle_t *rgui = (rgui_handle_t*)driver.menu;
if (!rgui)

View File

@ -352,9 +352,6 @@ void config_set_defaults(void)
rarch_assert(sizeof(g_settings.input.binds[0]) >= sizeof(retro_keybinds_1));
rarch_assert(sizeof(g_settings.input.binds[1]) >= sizeof(retro_keybinds_rest));
memcpy(g_settings.input.binds[0], retro_keybinds_1, sizeof(retro_keybinds_1));
#ifdef RARCH_CONSOLE
memcpy(g_settings.input.menu_binds, retro_keybinds_menu, sizeof(retro_keybinds_menu));
#endif
for (i = 1; i < MAX_PLAYERS; i++)
memcpy(g_settings.input.binds[i], retro_keybinds_rest, sizeof(retro_keybinds_rest));