osc.lua: cycle tracks on right click

This might be more useful than having the same binding as middle click.
Suggested by llyyr.
This commit is contained in:
Guido Cella 2024-10-26 23:15:49 +02:00 committed by Kacper Michajłow
parent 897c04afe1
commit fbf869584c
2 changed files with 4 additions and 4 deletions

View File

@ -537,7 +537,7 @@ clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``.
``audio_track_mbtn_mid_command=show-text ${track-list/audio} 3000`` ``audio_track_mbtn_mid_command=show-text ${track-list/audio} 3000``
``audio_track_mbtn_right_command=show-text ${track-list/audio} 3000`` ``audio_track_mbtn_right_command=cycle audio``
``audio_track_wheel_down_command=cycle audio`` ``audio_track_wheel_down_command=cycle audio``
@ -547,7 +547,7 @@ clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``.
``sub_track_mbtn_mid_command=show-text ${track-list/sub} 3000`` ``sub_track_mbtn_mid_command=show-text ${track-list/sub} 3000``
``sub_track_mbtn_right_command=show-text ${track-list/sub} 3000`` ``sub_track_mbtn_right_command=cycle sub``
``sub_track_wheel_down_command=cycle sub`` ``sub_track_wheel_down_command=cycle sub``

View File

@ -96,13 +96,13 @@ local user_opts = {
audio_track_mbtn_left_command = "script-binding select/select-aid; script-message-to osc osc-hide", audio_track_mbtn_left_command = "script-binding select/select-aid; script-message-to osc osc-hide",
audio_track_mbtn_mid_command = "show-text ${track-list/audio} 3000", audio_track_mbtn_mid_command = "show-text ${track-list/audio} 3000",
audio_track_mbtn_right_command = "show-text ${track-list/audio} 3000", audio_track_mbtn_right_command = "cycle audio",
audio_track_wheel_down_command = "cycle audio", audio_track_wheel_down_command = "cycle audio",
audio_track_wheel_up_command = "cycle audio down", audio_track_wheel_up_command = "cycle audio down",
sub_track_mbtn_left_command = "script-binding select/select-sid; script-message-to osc osc-hide", sub_track_mbtn_left_command = "script-binding select/select-sid; script-message-to osc osc-hide",
sub_track_mbtn_mid_command = "show-text ${track-list/sub} 3000", sub_track_mbtn_mid_command = "show-text ${track-list/sub} 3000",
sub_track_mbtn_right_command = "show-text ${track-list/sub} 3000", sub_track_mbtn_right_command = "cycle sub",
sub_track_wheel_down_command = "cycle sub", sub_track_wheel_down_command = "cycle sub",
sub_track_wheel_up_command = "cycle sub down", sub_track_wheel_up_command = "cycle sub down",