eric@eddie.MIT.EDU (Eric Van Tassell) (03/31/89)
Sometimes when I call XLookupString it returns the keysym XK_K but the string is '^K' and not 'K' as the naive user would expect. K is only used for example. The same problem seems to happen for all capital letters. Clues? TIA -- Eric Van Tassell(dlcdev!eric@eddie.mit.edu) Progress Software Corp. 22B Cotton Rd. Nashua, NH 03063 {603-882-2488}
olaf@TUB.BITNET (Olaf Heimburger) (03/31/89)
Date: Thu, 30 Mar 89 18:14:39 GMT From: Eric Van Tassell <eric@EDDIE.MIT.EDU> Sometimes when I call XLookupString it returns the keysym XK_K but the string is '^K' and not 'K' as the naive user would expect. K is only used for example. The same problem seems to happen for all capital letters. Clues? TIA You should also look at the state mask of the XKeyEvent. This mask indicates the modifier state like Shift, Control, Lock and so on. I think there will be also a XKeyEvent for pressing the Control-key, before pressing the 'K'-key. But I'm not sure. Regards, Olaf ------------------------------------------------------------------------ It's for youhou. ------------------------------------------------------------------------ Olaf Heimburger, <olaf@tub.UUCP> <olaf@db0tui6.BITNET> <olaf@tub.BITNET> Technical University of Berlin (West), Department of Computer Science uucp to tub: ...!pyramid!tub!olaf (from the US, only) ...!mcvax!unido!tub!olaf (from Europe only) ------------------------------------------------------------------------