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

Add debugger APIs for buttons and analogs #13946

Merged
merged 3 commits into from
Jan 19, 2021

Conversation

unknownbrackets
Copy link
Collaborator

This allows for you to both trigger and observe button presses and analog stick movement.

Triggering can be useful in a variety of scenarios, such as:

  • Functional tests (including with headless.)
  • "Twitch plays Crisis Core"
  • Alternative game UI (which might even synchronize inputs to multiple instances.)
  • Using the debugger API for TAS.

Observing probably has neat uses too, but is mainly useful to trigger some behavior when you press certain buttons (or a combination of them.) For example, this could be used to toggle a breakpoint on button press, or snapshot memory, etc.

-[Unknown]

This can be useful to trigger debugging functionality on button press.
In case of a multi-button shortcut, which might be common for debugging.
@unknownbrackets
Copy link
Collaborator Author

The Qt failure seems to be caused by download.qt.io being down.

-[Unknown]

@hrydgard hrydgard added this to the v1.11.0 milestone Jan 19, 2021
@hrydgard
Copy link
Owner

Nice. Since this doesn't touch any emulation code, I'm comfortable merging it now.

Let's ignore the Qt failure for now and hope it comes back up.

@hrydgard hrydgard merged commit 4595fcd into hrydgard:master Jan 19, 2021
@unknownbrackets unknownbrackets deleted the debugger-input branch January 19, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants