all repos — mgba @ ac686e3942bd3ba02b233b31286db2cae4661ba3

mGBA Game Boy Advance Emulator

Qt: Clear axis direction when setting a button value (fixes #179)
Jeffrey Pfau jeffrey@endrift.com
Sun, 04 Jan 2015 22:35:41 -0800
commit

ac686e3942bd3ba02b233b31286db2cae4661ba3

parent

c96c1f62116208d2ac6c939e507b503d09c256ef

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/KeyEditor.cppsrc/platform/qt/KeyEditor.cpp

@@ -35,6 +35,7 @@ }

void KeyEditor::setValueButton(int button) { m_button = true; + m_direction = InputController::NEUTRAL; setValue(button); }