I'd like to get the vol up/down/mute buttons on my Logitech K360 wireless keyboard working. I use alsamixer for audio, though changing to something I didn't have to reset repeatedly would be nice.
I can see the keypresses in xev. I just don't know what to do with that info; or even if this is a good way to do it.
Ideally it would be global, so that any time I press the key I get a volume change, regardless of what window I am focused on.
EG: Volume down:
KeyPress event, serial 48, synthetic NO, window 0x3c00001,
root 0xd3, subw 0x0, time 485398980, (331,-420), root:(333,475),
state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False