Change Default HotKey Behaviour

Issue #4014 new
Max Benoiton created an issue

Currently, when escape is pressed, it kills the emulator regardless of what the active window is. This can be annoying, when, for example, you alt-tab into BigBox to check the manual, press escape to go back, then try to alt-tab back into the now closed game.

This was quick to fix using an if WinActive, but it would be better as default.

Comments (1)

  1. Max Benoiton reporter

    Edit: This is the script I use for PCSX2

    ; This section closes PCSX2 when pressing Escape
    $Esc::
    {
        if WinActive("ahk_class wxWindowNR")
            Process, Close, {{{StartupEXE}}}
    }
    
  2. Log in to comment