Mpv: input.conf ignoring mouse wheel (MOUSE_BTN3/MOUSE_BTN4)

Created on 23 Jul 2017  路  6Comments  路  Source: mpv-player/mpv

mpv version and platform

2017-07-18 - Windows 10 x64

Reproduction steps

Add these lines in the input.conf

MOUSE_BTN3 add volume 2
MOUSE_BTN4 add volume -2

Expected behavior

Changing volume with mouse wheel instead of going forward or backward in the video

Actual behavior

mpv keeps the default behavior ignoring the input.conf file (only the MOUSE_BTN3/MOUSE_BTN4 part)

Log file

https://pastebin.com/m4T9MPR4

Sample files

Relevant part of the input.conf file

LEFT add chapter -1
RIGHT add chapter 1
UP add volume 2
DOWN add volume -2
MOUSE_BTN3 add volume 2
MOUSE_BTN4 add volume -2

Most helpful comment

Try AXIS_UP/AXIS_DOWN.

All 6 comments

Try AXIS_UP/AXIS_DOWN.

Where should the file be BTW? Placig it in home directory does not work for me.

edit: uhm sorry I confused the Linux path with the Windows path. On windows you should use %appdata%/mpv

@leewdch nope! On windows it's ~\AppData\Roaming\mpv\ as I found with procmon just now. Probably it varies between builds.

not really. if you input %appdata% in Win+R you'll go to appdata/roaming. so the correct path is indeed %appdata%/mpv. if you need appdata/local instead you input %localappdata%

Was this page helpful?
0 / 5 - 0 ratings