diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2015-08-07 14:46:43 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-09 23:52:13 +0200 |
commit | 91b9dcf800b4f2956449e88c1c9a6cba9216a59f (patch) | |
tree | ed896769e2c854be32020f9a4fe0f305874bd4e8 /demux | |
parent | e9182c5c7c77381414fd642bd2e7197e14040300 (diff) | |
download | mpv-91b9dcf800b4f2956449e88c1c9a6cba9216a59f.tar.bz2 mpv-91b9dcf800b4f2956449e88c1c9a6cba9216a59f.tar.xz |
TOOLS/lua: Add zones.lua
Lua script that enables handling of certain commands depending on where
the mouse pointer is. Mostly useful for mouse-wheel handling via
input.conf.
Example:
MOUSE_BTN3 script-message-to zones commands "*-left: add volume +5"
"default: seek +10"
MOUSE_BTN4 script-message-to zones commands "*-left: add volume -5"
"default: seek -10"
Will changes behavior of Mouse Wheel Up/Down to alter volume if mouse is
in the left zone of the window, but re-adds the default to seek if wheel
is used on other parts.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions