-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
command: make script-binding command scalable #15316
Commits on Nov 18, 2024
-
command: make script-binding command scalable
script-binding command is currently not scalable, so script registered key bindings also cannot be scalable, unlink input.conf bindings. This makes script-binding command scalable so that it's possible to define scalable key bindings in scripts. It now calls script-message command with an extra argument with the scale of the key.
Configuration menu - View commit details
-
Copy full SHA for 795a497 - Browse repository at this point
Copy the full SHA 795a497View commit details -
defaults.lua: support scalable mp.add_key_binding()
For complex key bindings, the table now contains a new member of the current key scale. mp.add_key_binding() now accepts the scalable flag to make the binding scalable.
Configuration menu - View commit details
-
Copy full SHA for 4ad9e58 - Browse repository at this point
Copy the full SHA 4ad9e58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fac89b - Browse repository at this point
Copy the full SHA 0fac89bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf1fe9b - Browse repository at this point
Copy the full SHA cf1fe9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60b1483 - Browse repository at this point
Copy the full SHA 60b1483View commit details -
DOCS/man/input.rst: document that WHEEL_* are scalable
This documents the scalable keys (currently WHEEL_*) and notes how the keys work with scalable commands. Mention touch pad as a common source of scalable input source.
Configuration menu - View commit details
-
Copy full SHA for 3604497 - Browse repository at this point
Copy the full SHA 3604497View commit details -
command: add custom arg for script-binding
This allows passing arbitrary information in the script-binding command. The content is available as a new message argument.
Configuration menu - View commit details
-
Copy full SHA for 66a8a2c - Browse repository at this point
Copy the full SHA 66a8a2cView commit details -
defaults.lua: support custom arg in mp.add_key_binding()
The information is available in the table.
Configuration menu - View commit details
-
Copy full SHA for 6d880a6 - Browse repository at this point
Copy the full SHA 6d880a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 947b7a5 - Browse repository at this point
Copy the full SHA 947b7a5View commit details