fix R77 buttons in launcher

This commit is contained in:
thrust26 2019-05-05 13:19:20 +02:00
parent e7d75ae408
commit b4e0eb8792
1 changed files with 2 additions and 2 deletions

View File

@ -501,9 +501,9 @@ void LauncherDialog::handleJoyDown(int stick, int button)
// open power-up options and settings for 2nd and 4th button if not mapped otherwise
Event::Type e = instance().eventHandler().eventForJoyButton(stick, button, kMenuMode);
if (button == 1 && (e == Event::UICancel || e == Event::NoType))
if (button == 1 && (e == Event::UIOK || e == Event::NoType))
myGlobalProps->open();
if (button == 3 && (e == Event::Event::UITabNext || e == Event::NoType))
if (button == 3 && (e == Event::Event::UITabPrev || e == Event::NoType))
openSettings();
else
Dialog::handleJoyDown(stick, button);