mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Clarify comment about the use of event.Skip().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6649 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
edbc06bd18
commit
055a056ddc
@ -807,13 +807,14 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
|||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#ifdef __APPLE__
|
// On OS X, we claim all keyboard events while
|
||||||
// We claim all keyboard events while emulation is
|
// emulation is running to avoid wxWidgets sounding
|
||||||
// running to avoid wxWidgets sounding the system beep
|
// the system beep for unhandled key events when
|
||||||
// for unhandled key events when receiving pad/wiimote
|
// receiving pad/wiimote keypresses which take an
|
||||||
// keypresses separately from HID devices.
|
// entirely different path through the HID subsystem.
|
||||||
return;
|
#ifndef __APPLE__
|
||||||
#else
|
// On other platforms, we leave the key event alone
|
||||||
|
// so it can be passed on to the windowing system.
|
||||||
event.Skip();
|
event.Skip();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user