-
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
Open
na-na-hi
wants to merge
8
commits into
mpv-player:master
Choose a base branch
from
na-na-hi:script-binding-scalable
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+69
−24
Commits on Nov 15, 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 87f06fd - Browse repository at this point
Copy the full SHA 87f06fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cbe364 - Browse repository at this point
Copy the full SHA 2cbe364View 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 f18a461 - Browse repository at this point
Copy the full SHA f18a461View commit details -
Configuration menu - View commit details
-
Copy full SHA for e838a56 - Browse repository at this point
Copy the full SHA e838a56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49284a7 - Browse repository at this point
Copy the full SHA 49284a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dd6627 - Browse repository at this point
Copy the full SHA 3dd6627View commit details -
DOCS/man/input.rst: document the scalable commands
This documents the commands which are scalable, and refer to information on how it affects input processing.
Configuration menu - View commit details
-
Copy full SHA for 43ab609 - Browse repository at this point
Copy the full SHA 43ab609View 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 e1d605a - Browse repository at this point
Copy the full SHA e1d605aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.