Skip to content

Commit

Permalink
fixing formatting AntiMicroX#557
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-TU committed Oct 11, 2022
1 parent 84399a6 commit f4c907b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/inputdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,8 @@ void InputDevice::changeSetAxisButtonAssociation(int button_index, int axis_inde
{
button = getJoystick_sets().value(newset)->getJoyAxis(axis_index)->getPAxisButton();
}
if (button != nullptr) {
if (button != nullptr)
{
JoyButton::SetChangeCondition tempmode = static_cast<JoyButton::SetChangeCondition>(mode);
button->setChangeSetSelection(originset);
button->setChangeSetCondition(tempmode, true);
Expand Down

0 comments on commit f4c907b

Please sign in to comment.