Skip to content

Commit

Permalink
Minor last touches
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyman79 committed Feb 1, 2021
1 parent caf3afa commit c79db73
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Src/beebwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,9 @@ void BeebWin::ResetJoystick(void)
// m_Joystick2Captured = false;
// }
//}
AtoDDisable();

// Don't disable AtoD here, we may want to reset joystick, but keep
// mousestick active
}

/****************************************************************************/
Expand Down Expand Up @@ -3470,10 +3472,7 @@ void BeebWin::HandleCommand(int MenuId)
{
ResetJoystick();
}
else /* mousestick */
{
AtoDDisable();
}
AtoDDisable();
}

if (MenuId == m_MenuIdSticks)
Expand Down Expand Up @@ -4319,7 +4318,9 @@ void BeebWin::UserKeyboardDialogClosed()
{
m_JoystickToKeys = m_J2KWasEnabled;
if (m_MenuIdSticks != IDM_JOYSTICK)
{
ResetJoystick();
}
}
}

Expand Down

0 comments on commit c79db73

Please sign in to comment.