mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
Map toggle running function to hotkey
This commit is contained in:
parent
1107dff9fa
commit
6daa419fd6
1 changed files with 6 additions and 0 deletions
|
@ -171,6 +171,12 @@ void Emulator::run() {
|
|||
|
||||
case SDLK_RETURN: hid.pressKey(Keys::Start); break;
|
||||
case SDLK_BACKSPACE: hid.pressKey(Keys::Select); break;
|
||||
|
||||
// Use the play button as a hot-key to pause or resume the emulator
|
||||
case SDLK_AUDIOPLAY: {
|
||||
running ? pause() : resume();
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue