
10 Jan
2010
10 Jan
'10
1:48 a.m.
myKeys = \c -> mkKeymap c $ -- volume key binding [ ("M-=", spawn "aumix2pipe +10") , ("M--", spawn "aumix2pipe -10") , ((0, 0x1008ff11), spawn "aumix2pipe -10") ... does not compile. lars On Sun, 10 Jan 2010, Konstantin Sobolev wrote:
On Sun, Jan 10, 2010 at 12:42 AM, Chengqi Song
wrote: I want to map my vol up and vol down keys. I used xev to capture their info as follows:
KeyRelease event, serial 27, synthetic NO, window 0x1600001, ? ?root 0x115, subw 0x0, time 1035672, (320,301), root:(321,319), ? ?state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES, ? ?XLookupString gives 0 bytes: ? ?XFilterEvent returns: False
[...]
Could anyone provide a solution?
try ((0, 0x1008ff11), spawn ... )