diff options
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/osc.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 0126d4da31..98e8558a15 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -2046,6 +2046,10 @@ function osc_init() "absolute-percent", "exact") end ne.eventresponder["reset"] = function (element) element.state.lastseek = nil end + ne.eventresponder["wheel_up_press"] = + function () mp.commandv("osd-auto", "seek", 10) end + ne.eventresponder["wheel_down_press"] = + function () mp.commandv("osd-auto", "seek", -10) end -- tc_left (current pos) |