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.
This commit is contained in:
nanahi
2024-11-14 16:34:11 -05:00
committed by Kacper Michajłow
parent b97e3b9e4b
commit 34571e7882
3 changed files with 29 additions and 12 deletions

View File

@@ -0,0 +1 @@
make `script-binding` command scalable; add `nonscalable` command prefix to restore the old behavior