XKeysymToKeycode functions returns the keycode for the keysym, it does not tell you whether Shift is pressed or not. On Tue, 01 Nov 2005 18:00:18 +0200, Jim Gettys <jg at freedesktop.org> wrote: > XKeysymToKeycode -- Cvetelin Andreev