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

input key names fixes #15516

Merged
merged 7 commits into from
Dec 20, 2024
Merged

input key names fixes #15516

merged 7 commits into from
Dec 20, 2024

Conversation

na-na-hi
Copy link
Contributor

Various fixes and clarification related to key names.

When shift modifier is used with text key names, it is usually
silently ignored, except for ASCII key names, which can be
confusing. Document it clearly.
Because mpv keycodes are whatever the text the keyboard input produces,
caps lock also affects this.
Document the syntax and mention how it can be used as Unicode
codepoints. ASCII range has worked since the feature was inplemented
in 86a87de and Unicode range has
worked since a63e880.

It also works with known special keys if you know the internal values
of keys because there is no filtering in place, but this should not be
encouraged.
Follow the suggestion of keyname documentation.

Fixes: b4d9980
Copy link

Download the artifacts for this pull request:

Windows
macOS

Copy link
Member

@Dudemanguy Dudemanguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@Dudemanguy Dudemanguy merged commit 8ee1aea into mpv-player:master Dec 20, 2024
26 checks passed
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