On Mon, 21 Oct 2024 20:39:51 +0200, Miod Vallat <m...@online.fr> wrote: > > > With and without it push a button mute leads to two events: > > > > KeymapNotify event, serial 28, synthetic NO, window 0x0, > > keys: 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > 0 > > 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 > > 0 > > > > KeymapNotify event, serial 28, synthetic NO, window 0x0, > > keys: 29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > 0 > > 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 > > 0 > > > > KeyRelease event, serial 28, synthetic NO, window 0xe00001, > > root 0x61d, subw 0x0, time 59780, (1499,955), root:(1500,1000), > > state 0x0, keycode 160 (keysym 0x1008ff12, XF86AudioMute), > > same_screen YES, > > XLookupString gives 0 bytes: > > XFilterEvent returns: False > > Oh, so you get two "key down" event and one "key up" event?
yep, and if I keep button pushed it produces more "key down" events, but never less than two. The same behaviour at least for volume up and down buttons on this embeded into laptop keyboard. -- wbr, Kirill