Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Basic MPlayer control with mouse buttons only
# left-click
MOUSE_BTN0 pause
# hold-right-click + scroll up
MOUSE_BTN2-MOUSE_BTN3 volume 2.0
MOUSE_BTN2-MOUSE_BTN3_DBL volume 2.0
MOUSE_BTN2-MOUSE_BTN3-MOUSE_BTN3_DBL volume 2.0
# hold-right-click + scroll down
MOUSE_BTN2-MOUSE_BTN4 volume -2.0
MOUSE_BTN2-MOUSE_BTN4_DBL volume -2.0
MOUSE_BTN2-MOUSE_BTN4-MOUSE_BTN4_DBL volume -2.0
# mousewheel click
MOUSE_BTN1 vo_fullscreen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment