fixes and improvements
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
local function quit()
|
||||
mp.command("quit")
|
||||
end
|
||||
|
||||
-- Bind to every sane input type
|
||||
mp.add_forced_key_binding(nil, "any_key", quit)
|
||||
mp.add_forced_key_binding("MBTN_LEFT", "left_click", quit)
|
||||
mp.add_forced_key_binding("MBTN_RIGHT", "right_click", quit)
|
||||
mp.add_forced_key_binding("WHEEL_UP", "scroll_up", quit)
|
||||
mp.add_forced_key_binding("WHEEL_DOWN", "scroll_down", quit)
|
||||
Reference in New Issue
Block a user