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

keyboard combo to quit m8c #175

Open
marcora opened this issue Jan 2, 2025 · 2 comments
Open

keyboard combo to quit m8c #175

marcora opened this issue Jan 2, 2025 · 2 comments

Comments

@marcora
Copy link

marcora commented Jan 2, 2025

I have a controller with 8 buttons that only sends keystrokes. Is there a combination of any of the 8 main keystrokes (4 arrows + shift + play + option + edit) that can be used to quit the m8c app? Something like option + edit + dn-arrow (or whatever is not used by the m8 software as a valid key combo).

I know this is already possible with [gamepad], but it would be great to have a similar option using [keyboard].

@laamaa
Copy link
Owner

laamaa commented Jan 11, 2025

Hi! No, there isn't. If you need it, you could try editing https://github.com/laamaa/m8c/blob/main/src/input.c#L302 to send an msg_quit instead of msg_reset_display for example

@marcora
Copy link
Author

marcora commented Jan 11, 2025

Cool, thanks for the tip. Could this become part of m8c in the future?

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

No branches or pull requests

2 participants