Update emuwindow.cpp

This commit is contained in:
Mrlinkwii 2020-07-28 18:24:12 +01:00
parent 301ed5ae6b
commit 8259071c02

View file

@ -568,7 +568,7 @@ void EmuWindow::keyPressEvent(QKeyEvent *event)
case Qt::Key_3:
emit update_joystick(JOYSTICK::RIGHT,JOYSTICK_AXIS::Y, 0x00);
break;
case Qt::Key_4:
case Qt::Key_5:
emit update_joystick(JOYSTICK::RIGHT,JOYSTICK_AXIS::Y, 0xFF);
break;
case Qt::Key_F1:
@ -645,7 +645,7 @@ void EmuWindow::keyReleaseEvent(QKeyEvent *event)
emit update_joystick(JOYSTICK::RIGHT, JOYSTICK_AXIS::X, 0x80);
break;
case Qt::Key_3:
case Qt::Key_4:
case Qt::Key_5:
emit update_joystick(JOYSTICK::RIGHT, JOYSTICK_AXIS::Y, 0x80);
break;
}