Added menu button Y

This commit is contained in:
Timo Strunk 2014-09-19 20:28:30 +02:00
parent db33f26405
commit 3672b4ba40
2 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,8 @@ static unsigned input_frame(uint64_t trigger_state)
return MENU_ACTION_CANCEL;
if (trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_A))
return MENU_ACTION_OK;
if (trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_Y))
return MENU_ACTION_Y;
if (trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_START))
return MENU_ACTION_START;
if (trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_SELECT))

View File

@ -87,6 +87,7 @@ typedef enum
MENU_ACTION_LEFT,
MENU_ACTION_RIGHT,
MENU_ACTION_OK,
MENU_ACTION_Y,
MENU_ACTION_CANCEL,
MENU_ACTION_REFRESH,
MENU_ACTION_SELECT,