diff --git a/src/wipeout/game.c b/src/wipeout/game.c index 50c519b..e6d155c 100755 --- a/src/wipeout/game.c +++ b/src/wipeout/game.c @@ -544,15 +544,15 @@ void game_init(void) { input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_LEFT, A_MENU_LEFT); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_RIGHT, A_MENU_RIGHT); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_W, A_MENU_UP_2); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_S, A_MENU_DOWN_2); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_A, A_MENU_LEFT_2); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_D, A_MENU_RIGHT_2); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_W, A_MENU_UP); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_S, A_MENU_DOWN); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_A, A_MENU_LEFT); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_D, A_MENU_RIGHT); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_K, A_MENU_UP_3); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_J, A_MENU_DOWN_3); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_H, A_MENU_LEFT_3); - input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_L, A_MENU_RIGHT_3); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_K, A_MENU_UP); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_J, A_MENU_DOWN); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_H, A_MENU_LEFT); + input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_L, A_MENU_RIGHT); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_BACKSPACE, A_MENU_BACK); input_bind(INPUT_LAYER_SYSTEM, INPUT_KEY_C, A_MENU_BACK); diff --git a/src/wipeout/game.h b/src/wipeout/game.h index 51fc840..ac62a90 100755 --- a/src/wipeout/game.h +++ b/src/wipeout/game.h @@ -35,14 +35,6 @@ typedef enum { A_MENU_DOWN, A_MENU_LEFT, A_MENU_RIGHT, - A_MENU_UP_2, - A_MENU_DOWN_2, - A_MENU_LEFT_2, - A_MENU_RIGHT_2, - A_MENU_UP_3, - A_MENU_DOWN_3, - A_MENU_LEFT_3, - A_MENU_RIGHT_3, A_MENU_BACK, A_MENU_SELECT, A_MENU_START, diff --git a/src/wipeout/ingame_menus.c b/src/wipeout/ingame_menus.c index b286f46..1eb93ed 100644 --- a/src/wipeout/ingame_menus.c +++ b/src/wipeout/ingame_menus.c @@ -325,10 +325,10 @@ static void hall_of_fame_draw_name_entry(menu_t *menu, ui_pos_t anchor, vec2i_t c_first = 36; } - if (input_pressed(A_MENU_UP) || input_pressed(A_MENU_UP_2) || input_pressed(A_MENU_UP_3)) { + if (input_pressed(A_MENU_UP)) { hs_char_index++; } - else if (input_pressed(A_MENU_DOWN) || input_pressed(A_MENU_DOWN_2) || input_pressed(A_MENU_DOWN_3)) { + else if (input_pressed(A_MENU_DOWN)) { hs_char_index--; } diff --git a/src/wipeout/menu.c b/src/wipeout/menu.c index 3e2b9cf..4cd005a 100644 --- a/src/wipeout/menu.c +++ b/src/wipeout/menu.c @@ -86,18 +86,18 @@ void menu_update(menu_t *menu) { int selected_data = 0; if (page->entries_len > 0) { if (flags_is(page->layout_flags, MENU_HORIZONTAL)) { - if (input_pressed(A_MENU_LEFT) || input_pressed(A_MENU_LEFT_2) || input_pressed(A_MENU_LEFT_3)) { + if (input_pressed(A_MENU_LEFT)) { page->index--; } - else if (input_pressed(A_MENU_RIGHT) || input_pressed(A_MENU_RIGHT_2) || input_pressed(A_MENU_RIGHT_3)) { + else if (input_pressed(A_MENU_RIGHT)) { page->index++; } } else { - if (input_pressed(A_MENU_UP) || input_pressed(A_MENU_UP_2) || input_pressed(A_MENU_UP_3)) { + if (input_pressed(A_MENU_UP)) { page->index--; } - if (input_pressed(A_MENU_DOWN) || input_pressed(A_MENU_DOWN_2) || input_pressed(A_MENU_DOWN_3)) { + if (input_pressed(A_MENU_DOWN)) { page->index++; } }