Open spencerirc opened 4 months ago
Thanks! By design, if no music is playing, I believe the volume keys directly control the system volume. Are you testing it when playing music on Spotify or not?
Hi, thanks for the volume solution.
I downloaded, signed, and got Volume Control up and running. It works to control Spotify volume. However, now, I cannot control the system volume. Even with the CMD key. The volume icon comes up but the system sound doesn't change. As soon as I exit Volume Control, I'm able to change system volume again.
What am I doing wrong?
I'm on M1, Sonoma.
-- Reply to this email directly or view it on GitHub: https://github.com/alberti42/Volume-Control/issues/26 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
Yes, I'm testing while playing music on Spotify.
I tested a bit more and it seems to now be working while using my laptop keyboard. Volume up/down controls spotify volume, and holding CMD volume up/down controls system volume.
However it's not working on my external keyboard. On my external keyboard, volume up/down controls spotify volume, AND holding CMD volume up/down also controls spotify. If I click "Invert behavior of CMD modifier" then volume up/down does not control spotify volume or system volume (even though the volume icon still appears on my screen.) Same with the setting on while holding CMD.
Any idea how to make it work for an external keyboard?
On Tue, Jul 9, 2024 at 12:16 PM Andrea Alberti @.***> wrote:
Thanks! By design, if no music is playing, I believe the volume keys directly control the system volume. Are you testing it when playing music on Spotify or not?
Hi, thanks for the volume solution.
I downloaded, signed, and got Volume Control up and running. It works to control Spotify volume. However, now, I cannot control the system volume. Even with the CMD key. The volume icon comes up but the system sound doesn't change. As soon as I exit Volume Control, I'm able to change system volume again.
What am I doing wrong?
I'm on M1, Sonoma.
-- Reply to this email directly or view it on GitHub: https://github.com/alberti42/Volume-Control/issues/26 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/alberti42/Volume-Control/issues/26#issuecomment-2218118817, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7IYBMXRT3PFGJDGHYVILDDZLQEF5AVCNFSM6AAAAABKS7RJ6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGEYTQOBRG4 . You are receiving this because you authored the thread.Message ID: @.***>
I am not sure what the problem is. The central function that captures the keys when they are pressed is
CGEventRef event_tap_callback(CGEventTapProxy proxy, CGEventType type,
CGEventRef event, void *refcon)
in AppDelegate.m
If you are able to compile the software, you could ask ChatGPT to create a version with printing on the console what keys are pressed. Then you can understand the logic, whether the keys you are pressed are completely missed and why.
Are you using as an external keyboard an Apple one? Apple keyboards (also bluetooth models) always worked for me. Otherwise I never tested the app with any other keyboard.
Yes, I'm testing while playing music on Spotify.
I tested a bit more and it seems to now be working while using my laptop keyboard. Volume up/down controls spotify volume, and holding CMD volume up/down controls system volume.
However it's not working on my external keyboard. On my external keyboard, volume up/down controls spotify volume, AND holding CMD volume up/down also controls spotify. If I click "Invert behavior of CMD modifier" then volume up/down does not control spotify volume or system volume (even though the volume icon still appears on my screen.) Same with the setting on while holding CMD.
Any idea how to make it work for an external keyboard?
On Tue, Jul 9, 2024 at 12:16 PM Andrea Alberti @.***> wrote:
Thanks! By design, if no music is playing, I believe the volume keys directly control the system volume. Are you testing it when playing music on Spotify or not?
Hi, thanks for the volume solution.
I downloaded, signed, and got Volume Control up and running. It works to control Spotify volume. However, now, I cannot control the system volume. Even with the CMD key. The volume icon comes up but the system sound doesn't change. As soon as I exit Volume Control, I'm able to change system volume again.
What am I doing wrong?
I'm on M1, Sonoma.
-- Reply to this email directly or view it on GitHub: https://github.com/alberti42/Volume-Control/issues/26 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/alberti42/Volume-Control/issues/26#issuecomment-2218118817 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A7IYBMXRT3PFGJDGHYVILDDZLQEF5AVCNFSM6AAAAABKS7RJ6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGEYTQOBRG4 . You are receiving this because you authored the thread.Message ID: @.***>
-- Reply to this email directly or view it on GitHub: https://github.com/alberti42/Volume-Control/issues/26#issuecomment-2218229712 You are receiving this because you commented.
Message ID: @.***>
Hi, thanks for the volume solution.
I downloaded, signed, and got Volume Control up and running. It works to control Spotify volume. However, now, I cannot control the system volume. Even with the CMD key. The volume icon comes up but the system sound doesn't change. As soon as I exit Volume Control, I'm able to change system volume again.
What am I doing wrong?
I'm on M1, Sonoma.