mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-06-01 19:08:18 -04:00
Update emuwindow.cpp
This commit is contained in:
parent
301ed5ae6b
commit
8259071c02
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue