Main index > About existing desklets > Volume

By mbokil (Desklet Author), on Sat Apr 1 10:30:38 2006: Volume.

This is the Volume desklet thread.

For the next version I am planning a UI option to select which sound device you want to control. Enjoy.

-Mark

By dbringer (User), on Thu Apr 6 05:13:28 2006.

Would it be possible to bind volume changing to the mouse wheel?

By mbokil (Desklet Author), on Fri Apr 7 09:57:49 2006.

Hm. That is an interesting idea. I don't know anything about the middle wheel rolling event. If I could figure out how to trap the event it could be done but I am not sure it would offer you that much advantage since you would have to first roll over the volume desklet.

-mark

By syfou (Core Developer & Desklet Author), on Fri Apr 7 14:26:58 2006.

On all (free) X implementations out there (the only exception I know is older X11 on IRIX), mouse wheel events are usually mapped as normal button press and button release events:

Code:


# Extract from the X configuration file
Section "InputDevice"
 [...]
 Option "ZAxisMapping" "4 5"
 [...]
EndSection



As you see, up is button 4, down is button 5: adesklets does report those events as usual. You can check how they are mapped on your system using the xev utility -- but I do not know anyone who does map the wheel differently: too many applications hard-code those values these days to make them worth changing. Yours,


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.