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 F1 key to toggleHelp for non-english keyboards #3570

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

gchriz
Copy link
Contributor

@gchriz gchriz commented Feb 5, 2024

Unfortunately the change of #2645 breaks the toggleHelp on keyboards with a non-english layout. The "?" doesn't have keyCode 191 there.

Since it's probably impossible to catch all international keyboard layouts regarding the "?" I suggest this:

Add an additional key for toggleHelp: The F1 key (keyCode 112).
It's well known for its meaning of "Help".
That would be backwards compatible and should work on all usual keyboards.

@gchriz gchriz changed the title add F1 key to toggleHelp for non-english keyyboards add F1 key to toggleHelp for non-english keyboards Feb 5, 2024
@hakimel hakimel merged commit f149d1f into hakimel:master Feb 6, 2024
@hakimel
Copy link
Owner

hakimel commented Feb 6, 2024

Looks good, thanks!

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