mirror of https://github.com/mgba-emu/mgba.git
Qt: Clear axis direction when setting a button value (fixes #179)
This commit is contained in:
parent
c96c1f6211
commit
ac686e3942
|
@ -35,6 +35,7 @@ void KeyEditor::setValueKey(int key) {
|
|||
|
||||
void KeyEditor::setValueButton(int button) {
|
||||
m_button = true;
|
||||
m_direction = InputController::NEUTRAL;
|
||||
setValue(button);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue