Skip to content
Permalink
Browse files
Merge pull request #6187 from raelgc/1-exit-on-esc
Add an exit key to `dolphin-emu-nogui`
  • Loading branch information
Helios747 committed Nov 27, 2017
2 parents 9fe5dd7 + 3b2b2de commit 7c96e51
Showing 1 changed file with 4 additions and 0 deletions.
@@ -240,6 +240,10 @@ class PlatformX11 : public Platform
case KeyPress:
key = XLookupKeysym((XKeyEvent*)&event, 0);
if (key == XK_Escape)
{
s_shutdown_requested.Set();
}
else if (key == XK_F10)
{
if (Core::GetState() == Core::State::Running)
{

0 comments on commit 7c96e51

Please sign in to comment.