nurupo / vlc-pause-click-plugin

Plugin for VLC that pauses/plays video on mouse click
GNU Lesser General Public License v2.1
928 stars 63 forks source link

Disable pausing when dragged more than X (say, 30) pixels #72

Open the-nelsonator opened 4 years ago

the-nelsonator commented 4 years ago

Hey, super useful plugin - crazy that VLC hasn't implemented this in vanilla yet...

But I have one issue. Want to maximize screen space being used by the video so use minimal mode with gestures. When you make the gesture button and pause button both be left click, skipping forward or backwards 10 seconds pauses and unpauses on each skip.

Not a major issue to just split pausing and skipping/nextfiling to separate mouse buttons, but slightly annoying, along with having to have to use the middle mouse button often.

Can you make an option to disable pausing if the mouse has been dragged more than a custom # of pixels away since being pressed, which would fix my issue and let every playback functionality be on the same mouse button? If needed for performance, could even just make it horizontal distance only.

nurupo commented 4 years ago

The plugin currently pauses on mouse press, not on mouse release, so such a thing is not possible with how the plugin currently works. I will see what I can do, but can't promise much.