roarde
Vectorite
  
Posts: 350
move the needle
|
 |
« Reply #4 on: June 17, 2010, 10:44:05 pm » |
|
I haven't even begun to learn xkb, so a hint is all I have to offer. I open a terminal and issue: xev
I press the appropriate keys for volume up and down. Here's what my machine returns: Volume up: KeyPress event, serial 33, synthetic NO, window 0x1e00001, root 0x41, subw 0x0, time 11284588, (390,-111), root:(393,583), state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1e00001, root 0x41, subw 0x0, time 11284718, (390,-111), root:(393,583), state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
And volume down: KeyPress event, serial 33, synthetic NO, window 0x1e00001, root 0x41, subw 0x0, time 11330512, (157,73), root:(160,767), state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1e00001, root 0x41, subw 0x0, time 11330623, (157,73), root:(160,767), state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Short version: here, it's 176 for up, 174 for down.
|