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

command: make script-binding command scalable #15316

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Nov 15, 2024

  1. 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.
    na-na-hi committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    87f06fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cbe364 View commit details
    Browse the repository at this point in the history
  3. 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.
    na-na-hi committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    f18a461 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e838a56 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    49284a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3dd6627 View commit details
    Browse the repository at this point in the history
  7. 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.
    na-na-hi committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    43ab609 View commit details
    Browse the repository at this point in the history
  8. 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.
    na-na-hi committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    e1d605a View commit details
    Browse the repository at this point in the history