-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse browsing support #22
Comments
Scrolling with the scroll wheels and opening the currently selected item with left click is pretty simple, and can already be done with the custom key bindings. However, selecting items by mouse position is much harder, it would require calculating the pixel height of each line and mapping that to each entry. It may also interfere with the OSC. For those reasons I don't plan to implement point and click support. |
Thanks for the fast reply. |
All the dynamic keybinds are given a name which can be called via the script-binding command. I don't have time to explain the naming format right now, but I'll add a guide to the readme in the next couple of days. |
Excellent thanks |
So I documented how to modify the default keybinds in commit 04f9fd2. For reference a default set of bindings you may find useful are:
|
Amazing thank 👍 |
As of mpv-player/mpv#8261 added in v0.33 it has now become viable to implement actual mouse support. I plan to explore doing so at some point in the future, though I am not making any guarantees. I am going to keep this issue open to track any future progress. |
Any work on this will be done in the mouse-support branch. |
Implements a new scrolling system for mouse-mode and properly calculates the hovered item when scrolling the list. This hover should work with custom font sizes, but currently the calculations are not adding up for the header, so that is hardcoded. See the next commit for keybinds.
For anyone who may be subscribed or looking at this issue I have opened a PR (#66 ) that implements full point & click mouse support. Any feedback on default bindings is welcome. |
Can I scroll and select the files via mouse?
The text was updated successfully, but these errors were encountered: