5

The wheel has eventually become "loose" with all mice I've owned and can be scrolled by accident. In mpv the wheel controls the video position.

from the documentation:

WHEEL_*

Mouse wheels (typically).

user198350
  • 3,769
  • 15
  • 50
  • 89

1 Answers1

5

If you click the search bar on the bottom left (next to the Windows start button) you'll then want to type in %appdata% and click enter on your keyboard.

This will bring you into your AppData/Roaming folder. Once you've reached this folder, you'll need to scroll down until you see the mpv folder. Double click that folder and inside you'll find input.conf. Open it up with an editor of your choice. I prefer visual studio code. Inside the input.conf editor add the following lines:

WHEEL_UP ignore
WHEEL_DOWN ignore

for a four-directional mouse:

WHEEL_RIGHT ignore 
WHEEL_LEFT ignore

Be sure to save your file afterwards.

source

user198350
  • 3,769
  • 15
  • 50
  • 89
Ryan
  • 96
  • 4
  • Hi! Where would the OP find that file? Please see [answer] and take our [tour] to learn how to create answers that meet our community standards. – Burgi Nov 26 '19 at 12:56
  • @Burgi I didn't think I'd have to explain since mpv is a custom video player that pretty much requires knowledge of where the input.conf file is to even use it. Anyways if you search for %appdata% you'll go to roaming/mpv/input.conf. – Ryan Nov 26 '19 at 14:21
  • You should [edit] your answer to include that information. Several of your answers have not met the quality standard the community expects. – Burgi Nov 26 '19 at 14:36
  • How am I supposed to comment and not answer when I can't get enough reputation to even comment? I'm only able to answer. I'd ask more questions if I was able to comment so it just doesn't make any sense why I'm forced to answer. – Ryan Nov 26 '19 at 14:48
  • Please be patient, deleting your answer is worse than improving and waiting for upvotes. If you wish to talk about it please consider joining the chat room. – Burgi Nov 26 '19 at 15:02
  • Which chatroom? – Ryan Nov 26 '19 at 15:06
  • https://chat.stackexchange.com/rooms/118/root-access – Burgi Nov 26 '19 at 15:20
  • don't have enough reputation – Ryan Nov 26 '19 at 15:29
  • The `input.conf` file didn't exist by default on my system. You also may want to include OS X and Linux in your configuration, sometimes input mapping is done differently. – user198350 Nov 30 '19 at 08:46
  • For linux the file to create and or edit here is `~/.config/mpv/input.conf` – creanion Oct 04 '22 at 20:24