osc.lua: open select.lua by clicking buttons

8bf5548 added mouse support to the console's select menu, so open it
from OSC buttons.

Left click on the title opens the playlist selector and showing the
stats is moved to right click.

Right click on chapter buttons opens the chapter selector.

Left click on track buttons opens the track selectors because seeing
which track you're selecting beforehand is useful.

Fixes #10621.
This commit is contained in:
Guido Cella
2024-10-16 16:03:53 +02:00
committed by Kacper Michajłow
parent 68e2b51066
commit cd2acb477c
2 changed files with 38 additions and 26 deletions

View File

@@ -31,15 +31,17 @@ The Interface
pl prev
============= ================================================
left-click play previous file in playlist
right-click show playlist
shift+L-click show playlist
right-click open the playlist selector
shift+L-click show the playlist
middle-click show the playlist
============= ================================================
pl next
============= ================================================
left-click play next file in playlist
right-click show playlist
shift+L-click show playlist
right-click open the playlist selector
shift+L-click show the playlist
middle-click show the playlist
============= ================================================
title
@@ -47,9 +49,8 @@ title
title, or the target chapter name while hovering the seekbar.
============= ================================================
left-click show file and track info
middle-click show filename
shift+L-click show filename
left-click open the playlist selector
middle-click show the filename
right-click show file and track info
============= ================================================
@@ -102,15 +103,17 @@ audio and sub
| Displays selected track and amount of available tracks
============= ================================================
left-click cycle audio/sub tracks forward
right-click cycle audio/sub tracks backwards
left-click open the audio/sub track selector
shift+L-click show available audio/sub tracks
middle-click show available audio/sub tracks
right-click show available audio/sub tracks
mouse wheel cycle audio/sub tracks forward/backwards
============= ================================================
vol
============= ================================================
left-click toggle mute
right-click open the audio device selector
mouse wheel volume up/down
============= ================================================