Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HotkeyScheduler: Check for certain hotkeys in game list #10122

Merged

Conversation

malleoz
Copy link
Contributor

@malleoz malleoz commented Sep 23, 2021

There are certain hotkeys that we absolutely want to be able to use without being in-game. Presently, no hotkeys are recognized unless we are in-game.

I've identified and moved the following hotkeys to be checked before the HotkeyScheduler checks to see if the Core is running:

  • Open
  • Exit
  • Start Recording
  • Refresh Game List

Note that Play Recording should also be implemented here, however it looks like there is no signal for a PlayRecording() function, so this will have to be handled in a later PR once that signal is created and implemented.

@lioncash
Copy link
Member

You may want to consider putting the PR description into the commit itself, so the context of why the change was made is included in the repository as well, once merged

@malleoz malleoz force-pushed the record-hotkeys-without-game-running branch 2 times, most recently from dc6eb47 to 8fc0135 Compare September 23, 2021 13:45
@malleoz
Copy link
Contributor Author

malleoz commented Sep 23, 2021

You may want to consider putting the PR description into the commit itself, so the context of why the change was made is included in the repository as well, once merged

Done. Will keep this in mind for the future. I didn't consider that the PR notes will not be easily visible once merged. Thanks!

There are certain hotkeys that we absolutely want to be able to use
without being in-game. Presently, no hotkeys are recognized unless we
are in-game.

I've identified and moved the following hotkeys to be checked before the
HotkeyScheduler checks to see if the Core is running:

- Open
- Exit
- Start Recording
- Refresh Game List

Note that Play Recording should also be implemented here, however it
looks like there is no signal for a PlayRecording() function, so this
will have to be handled in a later PR once that signal is created and
implemented.
@malleoz malleoz force-pushed the record-hotkeys-without-game-running branch from 8fc0135 to e5051c5 Compare September 23, 2021 14:46
@JosJuice
Copy link
Member

@leoetlino Would HK_TRIGGER_SYNC_BUTTON also make sense to enable when no game is running?

@leoetlino
Copy link
Member

No, that does nothing when no game is running

@lioncash lioncash merged commit 753a159 into dolphin-emu:master Sep 23, 2021
10 checks passed
@malleoz malleoz deleted the record-hotkeys-without-game-running branch September 24, 2021 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants