Open pokemaster974 opened 1 year ago
increasing the complexity of already pretty complex command config syntax to allow different behavior depending on a button pressing it is definitely not gonna happen
Seems like a useful thing to have though.
I also dislike the idea that one button share different actions. And I haven't met other media players using the similar logic.
IMO, the reason why default osc allow it is that they don't want to design a more complex UI to increase the burden of maintenance. A button with many actions seems to be the compromise solution. While uosc already had the friendly track-list menu.
I'll leave the issue open, but no promises.
Hi, is it possible to assign several actions for a OSC button ? For example, into the default osc, we can apply 3 different actions when we click on the subtitles button :
On uosc.lua, I found this :
My goal is to have at least 2 actions : -left click -> toggle to next audio -right click -> open the audio menu
But I don't know how to do this, and if I success to do it, it will break the compatibility with you version. Maybe I can do something with
overwrite-binding <name> <command>
or maybe into uosc.conf but I'm not sure.Thanks for your help !