|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Not sure if this is a right place to ask my question but I couldn't find
any better.
I am using lv3:menu_switch to get AltGr functionality from <MENU> key,
everything works excellent, but there is one thing that I've
accidentally noticed that puzzles me a lot: this key has an auto-repeat
on it.
E.g., if I run xev and press and hold Menu key I see a fast repeating
sequence of KeyPress/KeyRelease events like the following:
KeyPress event, serial 34, synthetic NO, window 0x2e00001,
root 0x10b, subw 0x0, time 1647313232, (-596,39), root:(504,83),
state 0x0, keycode 117 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2e00001,
root 0x10b, subw 0x0, time 1647313254, (-596,39), root:(504,83),
state 0x80, keycode 117 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XLookupString gives 0 bytes:
KeyPress event, serial 34, synthetic NO, window 0x2e00001,
root 0x10b, subw 0x0, time 1647313254, (-596,39), root:(504,83),
state 0x0, keycode 117 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2e00001,
root 0x10b, subw 0x0, time 1647313277, (-596,39), root:(504,83),
state 0x80, keycode 117 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XLookupString gives 0 bytes:
xmodmap -pm produces this [truncated]:
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x75),
ISO_Level3_Shift (0x7c)
0x75==117 of course (and you probably guessed the modifier from state
field of KeyRelease event).
I think that I've read somewhere that if a key has a real modifier
associated with it then autorepeat is automatically switched off for it.
Doesn't happen in my case. This looks very contrary to how
Shift/Control/Alt behave.
BTW, I am still using XFree86-4.5.0.
--
Andriy Gapon
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86
[X Forum] [Xorg] [XFree86] [XFree86 Newbie] [IETF Announce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Kernel]