mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Update several of the translations.
Update pot file to reflect recent changes in strings in the code. Make the Host_GetKeyState routine thread safe on linux. Clean up config main, and migrate the plugin selection to the display tab. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6994 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -568,6 +568,12 @@ bool Host_GetKeyState(int keycode)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return GetAsyncKeyState(keycode);
|
||||
#elif defined __WXGTK__
|
||||
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_KEYSTATE);
|
||||
event.SetInt(keycode);
|
||||
main_frame->GetEventHandler()->AddPendingEvent(event);
|
||||
main_frame->keystate_event.Wait();
|
||||
return main_frame->bKeyStateResult;
|
||||
#else
|
||||
return wxGetKeyState(wxKeyCode(keycode));
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user