-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[RFC] input.conf: duplicate some keybind to keypad siblings #15996
base: master
Are you sure you want to change the base?
Conversation
Download the artifacts for this pull request: |
How about |
Hmm, maybe. Not sure what looks better if you read this file or something like stats.lua. |
12e9cc6
to
722bb5d
Compare
@na-na-hi thoughts? |
Is it possible to add a flag for keypress so that one key can be exactly equivalent to another? |
Also |
So, I don't know what to do here. I don't want to manually duplicate everything. It pollutes input config. And doing this in core would probably be even worse. We could add some sort of aliasing mechanism, but it seems too much for this case alone. |
The default behavior of |
For the keypad arrow keys |
723a7b1
to
7dd5ddf
Compare
changed it back to using commands directly. |
They still can be remapped individually by users, but let's duplicate them by default. Same as 8c6ad1d. Fixes: mpv-player#15993
Q: Is it possible to improve the syntax? For instance:
Use the de-duplicated solutions:
|
It's probably possible, but not sure the cosmetic gain is enough to justify to parser change. Though it shouldn't be a big one. |
This doesn't actually fix the linked issue completely, since it doesn't touch console.lua and other built-in scripts. |
They still can be remapped individually by users, but let's duplicate them by default.
Same as 8c6ad1d.
Fixes: #15993