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

Escape key not available on some devices #9

Closed
idoblenderstuffs opened this issue Jun 11, 2024 · 2 comments
Closed

Escape key not available on some devices #9

idoblenderstuffs opened this issue Jun 11, 2024 · 2 comments

Comments

@idoblenderstuffs
Copy link

This web port is decently playable using my iPad with the keyboard case accessory, apart from the lack of an escape key. I don't know why Apple would make such a decision, but it makes exiting any menus in this port impossible, and means that I can't change any settings, making the game largely awkward to play. Some way to rebind the main keys before loading the game would be useful to fix this, or just providing some other keybind that does an escape.

@GMH-Code GMH-Code reopened this Jun 11, 2024
@GMH-Code
Copy link
Owner

I've had a quick look for you.

It is possible to bind keys to open menus (main or otherwise), but, like you have said, it is not currently possible to close them nor go up a level if you're missing the Esc key. The game has many hardcoded uses of K_ESCAPE (basically ASCII code 27), so it'd mean adding to those. Easy enough to do, but I have to be a little careful doing that as it may conflict with bindable keys, which Esc is not. I didn't ever imagine that key would be missing!

What I can suggest is:

  1. Try CMD + . (dot) on your iPad to go up a level or exit the menu -- I expect you've already tried this, but let me know if it works anyway.
  2. If that key combination doesn't work, maybe it is possible to map an alternative key on the iPad (definitely not ideal).
  3. You could use the console to set binds for functionality you want, but this still won't allow you to Esc out of menus if you open one and choose to bail out.
  4. You can also set binds on the start of the game, e.g. https://quake.m-h.org.uk/?+bind&n&menu_main , but again this won't allow you to exit the menus with Esc.

@GMH-Code
Copy link
Owner

GMH-Code commented Jul 7, 2024

I'll close this now, but feel free to comment if there is still a problem!

@GMH-Code GMH-Code closed this as completed Jul 7, 2024
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