Marc Santhoff wrote:
> Am Sonntag, den 31.12.2006, 16:42 +0100 schrieb Marc Weustink:
>> I used XKeyCodeToKeysym to retrieve all keysyms and that function
>> appears to be broken.
>> I now switched to XGetKeyboardMapping to retrieve all in one go (is also
>> more efficient) and that one reports the correct values.
>
> May I ask, which X (.org or Free86) you use and what version? I'm using
> XKeyCodeToKeysym myself and if it is broken I have to take care ...
Both xorg-x11-6.8.2-37.FC4.49.2 and X-Win32 8.0.2216 (also xorg based)
have this problem.
You can check this by looking at the result for:
XKeyCodeToKeysym(Display, N, M);
where N=10..20 and M=2..3
M=2,3 are the values of the 2nd keysym group and they result in 0, where
they (obviously) shouldn't be 0 if you look at the result of xmodmap
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives