diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-08-07 22:20:10 +0200 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-08-07 22:20:10 +0200 |
commit | f921d5c07fdc98f58b13af5c129ea8a0ba6142c8 (patch) | |
tree | 91499f98c051a2b7422374747a0a96b3221ddcf3 /etc | |
parent | f364a1e3dfb78239985b3068e079544bbff6d66f (diff) | |
download | mpv-f921d5c07fdc98f58b13af5c129ea8a0ba6142c8.tar.bz2 mpv-f921d5c07fdc98f58b13af5c129ea8a0ba6142c8.tar.xz |
input.conf: better documentation and sane defaults
Uses the same defaults as BTN3/4/5/6 which are hardcoded by most backends for
the mouse wheel.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/input.conf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/input.conf b/etc/input.conf index f2f7d8bedb..294dd96827 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -36,10 +36,12 @@ MOUSE_BTN5 add volume 1 MOUSE_BTN6 add volume -1 # Mouse wheels, touchpad or other input devices that have axes +# if the input devices supports precise scrolling it will also scale the +# numeric value accordingly AXIS_UP seek 10 AXIS_DOWN seek -10 -AXIS_LEFT speed_mult 0.5 -AXIS_RIGHT speed_mult 1.5 +AXIS_LEFT add volume 1 +AXIS_RIGHT add volume -1 # Seek units are in seconds, but note that these are limited by keyframes RIGHT seek 10 |