Skip to content

Commit

Permalink
Merge pull request #1601 from RachelBryk/wiimote-hotkey2
Browse files Browse the repository at this point in the history
Fix wiimote connect hotkeys.
  • Loading branch information
lioncash committed Nov 29, 2014
2 parents ce05976 + df9ace0 commit c2e5715
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/DolphinWX/Frame.cpp
Expand Up @@ -1195,8 +1195,9 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
// Actually perform the wiimote connection or disconnection
if (WiimoteId >= 0)
{
bool connect = !GetMenuBar()->IsChecked(IDM_CONNECT_WIIMOTE1 + WiimoteId);
ConnectWiimote(WiimoteId, connect);
wxCommandEvent evt;
evt.SetId(IDM_CONNECT_WIIMOTE1 + WiimoteId);
OnConnectWiimote(evt);
}

if (g_Config.bFreeLook)
Expand Down

0 comments on commit c2e5715

Please sign in to comment.