Dudemanguy / mpv-manga-reader

Manga reading script for mpv
GNU General Public License v3.0
121 stars 4 forks source link

Add mouse bindings too? #14

Closed Droyk closed 2 years ago

Droyk commented 2 years ago

I forgot to see the controls & started wheel scrolling to my surprise the script only supports the keyboard bindings! Can you please also add controls/bindings for the mouse too?

Dudemanguy commented 2 years ago

Those are just the defaults. You can add any bindings you want in input.conf. Read up how it works by looking at the mpv manual.

Droyk commented 2 years ago

Wouldn't it make sense to make this default! so the user doesn't have to do anything!

Dudemanguy commented 2 years ago

The defaults are basically my personal preference and I don't want the wheel to control changing pages. Nothing is stopping anyone for adding their own WHEEL_UP and WHEEL_DOWN bindings.

Droyk commented 2 years ago

The defaults are basically my personal preference and I don't want the wheel to control changing pages. Nothing is stopping anyone for adding their own WHEEL_UP and WHEEL_DOWN bindings.

Wait, one can't add alternative binding for a single function?

Droyk commented 2 years ago

I mean I want to control the changing pages via wheel up/down and by the arrow keys, I can't do it?

Dudemanguy commented 2 years ago

I'm not sure how you got that from my message. Of course you can add your own bindings to the mouse wheel using input.conf. I just don't want one there by default.