Volume control #586
MarcHamamji
started this conversation in
Feature Request
Replies: 1 comment 1 reply
-
Sorry, I'm not sure how to do that. It seems difficult to intercept keypresses like that, unless Valent is the focused application. Even then I'm not sure how it would decide which device or player to send event to, or whether it should send volume changes to the system or the media player. Any hints here would be welcome 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When using GSConnect, I have 2 keyboard shortcuts to trigger a script that changes the phone's volume when something is playing on it, using the MPRIS dbus interface.
I know that I can do the same thing with Valent, but a very nice feature would be to use the default volume buttons to change it. From a very high level, Valent could remap / intercept the volume keys and, if something is playing on the phone, adjust its volume, instead of the host's.
Though I'm not sure about the underlying technical challenges, I would really like such a feature, which would make using both devices more seamless.
Thanks for the great work 😄
Beta Was this translation helpful? Give feedback.
All reactions