|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: X
Length: 5925 (0x1725)
Names: »XLookupKeysym.3X«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/XLookupKeysym.3X«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 58 4c 6f 6f 6b 75 70 4b 65 79 73 79 6d 28 33 58 29 0a 0a 0a 0a ┆ions XLookupKeysym(3X) ┆ 0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x0080…00a0 20 20 58 4c 6f 6f 6b 75 70 4b 65 79 73 79 6d 2c 20 58 52 65 66 72 65 73 68 4b 65 79 62 6f 61 72 ┆ XLookupKeysym, XRefreshKeyboar┆ 0x00a0…00c0 64 4d 61 70 70 69 6e 67 2c 20 58 4c 6f 6f 6b 75 70 53 74 72 69 6e 67 2c 20 58 52 65 2d 0a 20 20 ┆dMapping, XLookupString, XRe- ┆ 0x00c0…00e0 20 20 20 62 69 6e 64 4b 65 79 53 79 6d 20 2d 20 68 61 6e 64 6c 65 20 6b 65 79 62 6f 61 72 64 20 ┆ bindKeySym - handle keyboard ┆ 0x00e0…0100 69 6e 70 75 74 20 65 76 65 6e 74 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 ┆input events S S S SY Y Y YN N ┆ 0x0100…0120 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 4b 65 ┆N NT T T TA A A AX X X X Ke┆ 0x0120…0140 79 53 79 6d 20 58 4c 6f 6f 6b 75 70 4b 65 79 73 79 6d 28 5f 08 6b 5f 08 65 5f 08 79 5f 5f 08 65 ┆ySym XLookupKeysym(_ k_ e_ y__ e┆ 0x0140…0160 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 2c 20 5f 08 69 5f 08 6e 5f 08 64 5f 08 65 5f 08 78 29 0a 20 ┆_ v_ e_ n_ t, _ i_ n_ d_ e_ x) ┆ 0x0160…0180 20 20 20 20 20 20 20 20 20 20 58 4b 65 79 45 76 65 6e 74 20 2a 5f 08 6b 5f 08 65 5f 08 79 5f 5f ┆ XKeyEvent *_ k_ e_ y__┆ 0x0180…01a0 08 65 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 5f ┆ e_ v_ e_ n_ t; int _┆ 0x01a0…01c0 08 69 5f 08 6e 5f 08 64 5f 08 65 5f 08 78 3b 0a 0a 20 20 20 20 20 58 52 65 66 72 65 73 68 4b 65 ┆ i_ n_ d_ e_ x; XRefreshKe┆ 0x01c0…01e0 79 62 6f 61 72 64 4d 61 70 70 69 6e 67 28 5f 08 65 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 5f 08 ┆yboardMapping(_ e_ v_ e_ n_ t__ ┆ 0x01e0…0200 6d 5f 08 61 5f 08 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 58 4d 61 70 70 69 6e 67 45 76 65 6e ┆m_ a_ p) XMappingEven┆ 0x0200…0220 74 20 2a 5f 08 65 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 5f 08 6d 5f 08 61 5f 08 70 3b 0a 0a 20 ┆t *_ e_ v_ e_ n_ t__ m_ a_ p; ┆ 0x0220…0240 20 20 20 20 69 6e 74 20 58 4c 6f 6f 6b 75 70 53 74 72 69 6e 67 28 5f 08 65 5f 08 76 5f 08 65 5f ┆ int XLookupString(_ e_ v_ e_┆ 0x0240…0260 08 6e 5f 08 74 5f 5f 08 73 5f 08 74 5f 08 72 5f 08 75 5f 08 63 5f 08 74 2c 20 5f 08 62 5f 08 75 ┆ n_ t__ s_ t_ r_ u_ c_ t, _ b_ u┆ 0x0260…0280 5f 08 66 5f 08 66 5f 08 65 5f 08 72 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c ┆_ f_ f_ e_ r__ r_ e_ t_ u_ r_ n,┆ 0x0280…02a0 20 5f 08 62 5f 08 79 5f 08 74 5f 08 65 5f 08 73 5f 5f 08 62 5f 08 75 5f 08 66 5f 08 66 5f 08 65 ┆ _ b_ y_ t_ e_ s__ b_ u_ f_ f_ e┆ 0x02a0…02c0 5f 08 72 2c 0a 20 20 20 20 20 5f 08 6b 5f 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 5f 5f 08 72 ┆_ r, _ k_ e_ y_ s_ y_ m__ r┆ 0x02c0…02e0 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 5f 08 75 ┆_ e_ t_ u_ r_ n, _ s_ t_ a_ t_ u┆ 0x02e0…0300 5f 08 73 5f 5f 08 69 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 29 0a 20 20 20 20 20 20 20 20 20 20 ┆_ s__ i_ n__ o_ u_ t) ┆ 0x0300…0320 20 58 4b 65 79 45 76 65 6e 74 20 2a 5f 08 65 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 5f 08 73 5f ┆ XKeyEvent *_ e_ v_ e_ n_ t__ s_┆ 0x0320…0340 08 74 5f 08 72 5f 08 75 5f 08 63 5f 08 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 ┆ t_ r_ u_ c_ t; char ┆ 0x0340…0360 2a 5f 08 62 5f 08 75 5f 08 66 5f 08 66 5f 08 65 5f 08 72 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 ┆*_ b_ u_ f_ f_ e_ r__ r_ e_ t_ u┆ 0x0360…0380 5f 08 72 5f 08 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 5f 08 62 5f 08 79 5f 08 74 ┆_ r_ n; int _ b_ y_ t┆ 0x0380…03a0 5f 08 65 5f 08 73 5f 5f 08 62 5f 08 75 5f 08 66 5f 08 66 5f 08 65 5f 08 72 3b 0a 20 20 20 20 20 ┆_ e_ s__ b_ u_ f_ f_ e_ r; ┆ 0x03a0…03c0 20 20 20 20 20 20 4b 65 79 53 79 6d 20 2a 5f 08 6b 5f 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d ┆ KeySym *_ k_ e_ y_ s_ y_ m┆ 0x03c0…03e0 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 ┆__ r_ e_ t_ u_ r_ n; ┆ 0x03e0…0400 58 43 6f 6d 70 6f 73 65 53 74 61 74 75 73 20 2a 5f 08 73 5f 08 74 5f 08 61 5f 08 74 5f 08 75 5f ┆XComposeStatus *_ s_ t_ a_ t_ u_┆ 0x0400…0420 08 73 5f 5f 08 69 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 3b 0a 0a 20 20 20 20 20 58 52 65 62 69 ┆ s__ i_ n__ o_ u_ t; XRebi┆ 0x0420…0440 6e 64 4b 65 79 73 79 6d 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 ┆ndKeysym(_ d_ i_ s_ p_ l_ a_ y, ┆ 0x0440…0460 5f 08 6b 5f 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 2c 20 5f 08 6c 5f 08 69 5f 08 73 5f 08 74 ┆_ k_ e_ y_ s_ y_ m, _ l_ i_ s_ t┆ 0x0460…0480 2c 20 5f 08 6d 5f 08 6f 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 75 5f 08 6e 5f 08 74 2c 20 5f 08 73 ┆, _ m_ o_ d__ c_ o_ u_ n_ t, _ s┆ 0x0480…04a0 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 2c 0a 20 20 20 20 20 5f 08 62 5f 08 79 5f 08 74 5f ┆_ t_ r_ i_ n_ g, _ b_ y_ t_┆ 0x04a0…04c0 08 65 5f 08 73 5f 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 29 0a 20 20 20 20 20 20 ┆ e_ s__ s_ t_ r_ i_ n_ g) ┆ 0x04c0…04e0 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 ┆ Display *_ d_ i_ s_ p_ l_ a┆ 0x04e0…0500 5f 08 79 3b 0a 20 20 20 20 20 20 20 20 20 20 20 4b 65 79 53 79 6d 20 5f 08 6b 5f 08 65 5f 08 79 ┆_ y; KeySym _ k_ e_ y┆ 0x0500…0520 5f 08 73 5f 08 79 5f 08 6d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 4b 65 79 53 79 6d 20 5f 08 6c ┆_ s_ y_ m; KeySym _ l┆ 0x0520…0540 5f 08 69 5f 08 73 5f 08 74 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 5f 08 6d 5f ┆_ i_ s_ t[]; int _ m_┆ 0x0540…0560 08 6f 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 75 5f 08 6e 5f 08 74 3b 0a 20 20 20 20 20 20 20 20 20 ┆ o_ d__ c_ o_ u_ n_ t; ┆ 0x0560…0580 20 20 75 6e 73 69 67 6e 65 64 20 63 68 61 72 20 2a 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e ┆ unsigned char *_ s_ t_ r_ i_ n┆ 0x0580…05a0 5f 08 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 5f 08 62 5f 08 79 5f 08 74 5f 08 65 ┆_ g; int _ b_ y_ t_ e┆ 0x05a0…05c0 5f 08 73 5f 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 3b 0a 0a 41 08 41 08 41 08 41 ┆_ s__ s_ t_ r_ i_ n_ g; A A A A┆ 0x05c0…05e0 52 08 52 08 52 08 52 47 08 47 08 47 08 47 55 08 55 08 55 08 55 4d 08 4d 08 4d 08 4d 45 08 45 08 ┆R R R RG G G GU U U UM M M ME E ┆ 0x05e0…0600 45 08 45 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 ┆E EN N N NT T T TS S S S _ ┆ 0x0600…0620 62 5f 08 75 5f 08 66 5f 08 66 5f 08 65 5f 08 72 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 ┆b_ u_ f_ f_ e_ r__ r_ e_ t_ u_ r┆ 0x0620…0640 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 74 75 72 6e 73 20 74 68 65 20 74 ┆_ n Returns the t┆ 0x0640…0660 72 61 6e 73 6c 61 74 65 64 20 63 68 61 72 61 63 74 65 72 73 2e 0a 0a 20 20 20 20 20 5f 08 62 5f ┆ranslated characters. _ b_┆ 0x0660…0680 08 79 5f 08 74 5f 08 65 5f 08 73 5f 5f 08 62 5f 08 75 5f 08 66 5f 08 66 5f 08 65 5f 08 72 0a 20 ┆ y_ t_ e_ s__ b_ u_ f_ f_ e_ r ┆ 0x0680…06a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6c 65 6e 67 ┆ Specifies the leng┆ 0x06a0…06c0 74 68 20 6f 66 20 74 68 65 20 62 75 66 66 65 72 2e 20 20 4e 6f 20 6d 6f 72 65 20 74 68 61 6e 0a ┆th of the buffer. No more than ┆ 0x06c0…06e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 79 74 65 73 5f 62 75 66 66 65 72 20 6f 66 20 74 ┆ bytes_buffer of t┆ 0x06e0…0700 72 61 6e 73 6c 61 74 69 6f 6e 20 61 72 65 20 72 65 74 75 72 6e 65 64 2e 0a 0a 20 20 20 20 20 5f ┆ranslation are returned. _┆ 0x0700…0720 08 62 5f 08 79 5f 08 74 5f 08 65 5f 08 73 5f 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 ┆ b_ y_ t_ e_ s__ s_ t_ r_ i_ n_ ┆ 0x0720…0740 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6c ┆g Specifies the l┆ 0x0740…0760 65 6e 67 74 68 20 6f 66 20 74 68 65 20 73 74 72 69 6e 67 2e 0a 0a 20 20 20 20 20 5f 08 64 5f 08 ┆ength of the string. _ d_ ┆ 0x0760…0780 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 ┆i_ s_ p_ l_ a_ y Specifies the┆ 0x0780…07a0 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 74 6f 20 74 68 65 20 58 20 73 65 72 76 65 72 2e 0a 0a 20 20 ┆ connection to the X server. ┆ 0x07a0…07c0 20 20 20 5f 08 65 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 5f 08 6d 5f 08 61 5f 08 70 20 53 70 65 ┆ _ e_ v_ e_ n_ t__ m_ a_ p Spe┆ 0x07c0…07e0 63 69 66 69 65 73 20 74 68 65 20 6d 61 70 70 69 6e 67 20 65 76 65 6e 74 20 74 68 61 74 20 69 73 ┆cifies the mapping event that is┆ 0x07e0…0800 20 74 6f 20 62 65 20 75 73 65 64 2e 0a 0a 20 20 20 20 20 5f 08 65 5f 08 76 5f 08 65 5f 08 6e 5f ┆ to be used. _ e_ v_ e_ n_┆ 0x0800…0820 08 74 5f 5f 08 73 5f 08 74 5f 08 72 5f 08 75 5f 08 63 5f 08 74 0a 20 20 20 20 20 20 20 20 20 20 ┆ t__ s_ t_ r_ u_ c_ t ┆ 0x0820…0840 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6b 65 79 20 65 76 65 6e 74 20 73 74 72 ┆ Specifies the key event str┆ 0x0840…0860 75 63 74 75 72 65 20 74 6f 20 62 65 20 75 73 65 64 2e 20 20 59 6f 75 0a 20 20 20 20 20 20 20 20 ┆ucture to be used. You ┆ 0x0860…0880 20 20 20 20 20 20 20 63 61 6e 20 70 61 73 73 20 5f 08 58 5f 08 4b 5f 08 65 5f 08 79 5f 08 50 5f ┆ can pass _ X_ K_ e_ y_ P_┆ 0x0880…08a0 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 65 5f 08 64 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 ┆ r_ e_ s_ s_ e_ d_ E_ v_ e_ n_ t┆ 0x08a0…08c0 20 6f 72 20 5f 08 58 5f 08 4b 5f 08 65 5f 08 79 5f 08 52 5f 08 65 5f 08 6c 5f 08 65 5f 08 61 5f ┆ or _ X_ K_ e_ y_ R_ e_ l_ e_ a_┆ 0x08c0…08e0 08 73 5f 08 65 5f 08 64 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 2e 0a 0a 20 20 20 20 20 5f ┆ s_ e_ d_ E_ v_ e_ n_ t. _┆ 0x08e0…0900 08 69 5f 08 6e 5f 08 64 5f 08 65 5f 08 78 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 ┆ i_ n_ d_ e_ x Specifies the┆ 0x0900…0920 20 69 6e 64 65 78 20 69 6e 74 6f 20 74 68 65 20 4b 65 79 53 79 6d 73 20 6c 69 73 74 20 66 6f 72 ┆ index into the KeySyms list for┆ 0x0920…0940 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 27 73 20 4b 65 79 43 ┆ the event's KeyC┆ 0x0940…0960 6f 64 65 2e 0a 0a 20 20 20 20 20 5f 08 6b 5f 08 65 5f 08 79 5f 5f 08 65 5f 08 76 5f 08 65 5f 08 ┆ode. _ k_ e_ y__ e_ v_ e_ ┆ 0x0960…0980 6e 5f 08 74 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 5f 08 4b 5f 08 65 5f 08 79 5f 08 50 5f ┆n_ t Specifies the _ K_ e_ y_ P_┆ 0x0980…09a0 08 72 5f 08 65 5f 08 73 5f 08 73 20 6f 72 20 5f 08 4b 5f 08 65 5f 08 79 5f 08 52 5f 08 65 5f 08 ┆ r_ e_ s_ s or _ K_ e_ y_ R_ e_ ┆ 0x09a0…09c0 6c 5f 08 65 5f 08 61 5f 08 73 5f 08 65 20 65 76 65 6e 74 2e 0a 0a 20 20 20 20 20 5f 08 6b 5f 08 ┆l_ e_ a_ s_ e event. _ k_ ┆ 0x09c0…09e0 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 4b ┆e_ y_ s_ y_ m Specifies the K┆ 0x09e0…0a00 65 79 53 79 6d 20 74 68 61 74 20 69 73 20 74 6f 20 62 65 20 2e 0a 0a 20 20 20 20 20 5f 08 6b 5f ┆eySym that is to be . _ k_┆ 0x0a00…0a20 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 ┆ e_ y_ s_ y_ m__ r_ e_ t_ u_ r_ ┆ 0x0a20…0a40 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 74 75 72 6e 73 20 74 68 65 20 4b 65 79 ┆n Returns the Key┆ 0x0a40…0a60 53 79 6d 20 63 6f 6d 70 75 74 65 64 20 66 72 6f 6d 20 74 68 65 20 65 76 65 6e 74 20 69 66 20 74 ┆Sym computed from the event if t┆ 0x0a60…0a80 68 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 67 75 6d 65 6e 74 20 69 73 20 6e ┆his argument is n┆ 0x0a80…0aa0 6f 74 20 4e 55 4c 4c 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 5f 08 6c 5f 08 69 5f 08 73 5f 08 ┆ot NULL. _ l_ i_ s_ ┆ 0x0aa0…0ac0 74 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 4b 65 79 53 79 6d 73 20 74 6f 20 ┆t Specifies the KeySyms to ┆ 0x0ac0…0ae0 62 65 20 75 73 65 64 20 61 73 20 6d 6f 64 69 66 69 65 72 73 2e 0a 0a 20 20 20 20 20 5f 08 6d 5f ┆be used as modifiers. _ m_┆ 0x0ae0…0b00 08 6f 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 75 5f 08 6e 5f 08 74 20 53 70 65 63 69 66 69 65 73 20 ┆ o_ d__ c_ o_ u_ n_ t Specifies ┆ 0x0b00…0b20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 6d 6f 64 69 66 69 65 72 73 20 69 6e 20 74 68 65 20 6d ┆the number of modifiers in the m┆ 0x0b20…0b40 6f 64 69 66 69 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 73 74 2e 0a 0a 20 20 ┆odifier list. ┆ 0x0b40…0b60 20 20 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 5f 08 75 5f 08 73 5f 5f 08 69 5f 08 6e 5f 5f 08 6f ┆ _ s_ t_ a_ t_ u_ s__ i_ n__ o┆ 0x0b60…0b80 5f 08 75 5f 08 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 ┆_ u_ t Specifies ┆ 0x0b80…0ba0 6f 72 20 72 65 74 75 72 6e 73 20 74 68 65 20 5f 08 58 5f 08 43 5f 08 6f 5f 08 6d 5f 08 70 5f 08 ┆or returns the _ X_ C_ o_ m_ p_ ┆ 0x0ba0…0bc0 6f 5f 08 73 5f 08 65 5f 08 53 5f 08 74 5f 08 61 5f 08 74 5f 08 75 5f 08 73 20 73 74 72 75 63 74 ┆o_ s_ e_ S_ t_ a_ t_ u_ s struct┆ 0x0bc0…0be0 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 4e 55 4c 4c 2e 0a 0a 20 20 20 ┆ure or NULL. ┆ 0x0be0…0c00 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 20 20 20 20 53 70 65 63 69 66 69 65 ┆ _ s_ t_ r_ i_ n_ g Specifie┆ 0x0c00…0c20 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 73 74 72 69 6e 67 20 74 68 61 74 20 69 ┆s a pointer to the string that i┆ 0x0c20…0c40 73 20 63 6f 70 69 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 77 69 6c 6c ┆s copied and will┆ 0x0c40…0c60 20 62 65 20 72 65 74 75 72 6e 65 64 20 62 79 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b 5f ┆ be returned by _ X_ L_ o_ o_ k_┆ 0x0c60…0c80 08 75 5f 08 70 5f 08 53 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 2e 0a 0a 44 08 44 08 44 08 ┆ u_ p_ S_ t_ r_ i_ n_ g. D D D ┆ 0x0c80…0ca0 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 ┆DE E E ES S S SC C C CR R R RI I┆ 0x0ca0…0cc0 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f ┆ I IP P P PT T T TI I I IO O O O┆ 0x0cc0…0ce0 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b ┆N N N N The _ X_ L_ o_ o_ k┆ 0x0ce0…0d00 5f 08 75 5f 08 70 5f 08 4b 5f 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 20 66 75 6e 63 74 69 6f ┆_ u_ p_ K_ e_ y_ s_ y_ m functio┆ 0x0d00…0d20 6e 20 75 73 65 73 20 61 20 67 69 76 65 6e 20 6b 65 79 62 6f 61 72 64 20 65 76 65 6e 74 20 61 6e ┆n uses a given keyboard event an┆ 0x0d20…0d40 64 0a 20 20 20 20 20 74 68 65 20 69 6e 64 65 78 20 79 6f 75 20 73 70 65 63 69 66 69 65 64 20 74 ┆d the index you specified t┆ 0x0d40…0d60 6f 20 72 65 74 75 72 6e 20 74 68 65 20 4b 65 79 53 79 6d 20 66 72 6f 6d 20 74 68 65 20 6c 69 73 ┆o return the KeySym from the lis┆ 0x0d60…0d80 74 0a 20 20 20 20 20 74 68 61 74 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 74 68 65 20 4b ┆t that corresponds to the K┆ 0x0d80…0da0 65 79 43 6f 64 65 20 6d 65 6d 62 65 72 20 69 6e 20 74 68 65 0a 20 20 20 20 20 5f 08 58 5f 08 4b ┆eyCode member in the _ X_ K┆ 0x0da0…0dc0 5f 08 65 5f 08 79 5f 08 50 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 65 5f 08 64 5f 08 45 5f 08 ┆_ e_ y_ P_ r_ e_ s_ s_ e_ d_ E_ ┆ 0x0dc0…0de0 76 5f 08 65 5f 08 6e 5f 08 74 20 6f 72 20 5f 08 58 5f 08 4b 5f 08 65 5f 08 79 5f 08 52 5f 08 65 ┆v_ e_ n_ t or _ X_ K_ e_ y_ R_ e┆ 0x0de0…0e00 5f 08 6c 5f 08 65 5f 08 61 5f 08 73 5f 08 65 5f 08 64 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 ┆_ l_ e_ a_ s_ e_ d_ E_ v_ e_ n_ ┆ 0x0e00…0e20 74 20 73 74 72 75 63 74 75 72 65 2e 20 20 49 66 20 6e 6f 0a 20 20 20 20 20 4b 65 79 53 79 6d 20 ┆t structure. If no KeySym ┆ 0x0e20…0e40 69 73 20 64 65 66 69 6e 65 64 20 66 6f 72 20 74 68 65 20 4b 65 79 43 6f 64 65 20 6f 66 20 74 68 ┆is defined for the KeyCode of th┆ 0x0e40…0e60 65 20 65 76 65 6e 74 2c 0a 20 20 20 20 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b 5f 08 75 ┆e event, _ X_ L_ o_ o_ k_ u┆ 0x0e60…0e80 5f 08 70 5f 08 4b 5f 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 20 72 65 74 75 72 6e 73 20 5f 08 ┆_ p_ K_ e_ y_ s_ y_ m returns _ ┆ 0x0e80…0ea0 4e 5f 08 6f 5f 08 53 5f 08 79 5f 08 6d 5f 08 62 5f 08 6f 5f 08 6c 2e 0a 0a 20 20 20 20 20 54 68 ┆N_ o_ S_ y_ m_ b_ o_ l. Th┆ 0x0ea0…0ec0 65 20 5f 08 58 5f 08 52 5f 08 65 5f 08 66 5f 08 72 5f 08 65 5f 08 73 5f 08 68 5f 08 4b 5f 08 65 ┆e _ X_ R_ e_ f_ r_ e_ s_ h_ K_ e┆ 0x0ec0…0ee0 5f 08 79 5f 08 62 5f 08 6f 5f 08 61 5f 08 72 5f 08 64 5f 08 4d 5f 08 61 5f 08 70 5f 08 70 5f 08 ┆_ y_ b_ o_ a_ r_ d_ M_ a_ p_ p_ ┆ 0x0ee0…0f00 69 5f 08 6e 5f 08 67 20 66 75 6e 63 74 69 6f 6e 20 72 65 66 72 65 73 68 65 73 20 74 68 65 20 73 ┆i_ n_ g function refreshes the s┆ 0x0f00…0f20 74 6f 72 65 64 0a 20 20 20 20 20 6d 6f 64 69 66 69 65 72 20 61 6e 64 20 6b 65 79 6d 61 70 20 69 ┆tored modifier and keymap i┆ 0x0f20…0f40 6e 66 6f 72 6d 61 74 69 6f 6e 2e 20 20 59 6f 75 20 75 73 75 61 6c 6c 79 20 63 61 6c 6c 20 74 68 ┆nformation. You usually call th┆ 0x0f40…0f60 69 73 0a 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 77 68 65 6e 20 61 20 5f 08 4d 5f 08 61 5f 08 ┆is function when a _ M_ a_ ┆ 0x0f60…0f80 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 4e 5f 08 6f 5f 08 74 5f 08 69 5f 08 66 5f 08 79 20 ┆p_ p_ i_ n_ g_ N_ o_ t_ i_ f_ y ┆ 0x0f80…0fa0 65 76 65 6e 74 20 77 69 74 68 20 61 20 72 65 71 75 65 73 74 20 6d 65 6d 62 65 72 20 6f 66 0a 20 ┆event with a request member of ┆ 0x0fa0…0fc0 20 20 20 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 4b 5f 08 65 5f ┆ _ M_ a_ p_ p_ i_ n_ g_ K_ e_┆ 0x0fc0…0fe0 08 79 5f 08 62 5f 08 6f 5f 08 61 5f 08 72 5f 08 64 20 6f 72 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 ┆ y_ b_ o_ a_ r_ d or _ M_ a_ p_ ┆ 0x0fe0…1000 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 4d 5f 08 6f 5f 08 64 5f 08 69 5f 08 66 5f 08 69 5f 08 65 5f ┆p_ i_ n_ g_ M_ o_ d_ i_ f_ i_ e_┆ 0x1000…1020 08 72 20 6f 63 63 75 72 73 2e 20 20 54 68 65 20 72 65 73 75 6c 74 20 69 73 20 74 6f 0a 20 20 20 ┆ r occurs. The result is to ┆ 0x1020…1040 20 20 75 70 64 61 74 65 20 58 6c 69 62 27 73 20 6b 6e 6f 77 6c 65 64 67 65 20 6f 66 20 74 68 65 ┆ update Xlib's knowledge of the┆ 0x1040…1060 20 6b 65 79 62 6f 61 72 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 ┆ keyboard. The _ X_ L_ o_ ┆ 0x1060…1080 6f 5f 08 6b 5f 08 75 5f 08 70 5f 08 53 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 20 66 75 6e ┆o_ k_ u_ p_ S_ t_ r_ i_ n_ g fun┆ 0x1080…10a0 63 74 69 6f 6e 20 74 72 61 6e 73 6c 61 74 65 73 20 61 20 6b 65 79 20 65 76 65 6e 74 20 74 6f 20 ┆ction translates a key event to ┆ 0x10a0…10c0 61 0a 20 20 20 20 20 4b 65 79 53 79 6d 20 61 6e 64 20 61 20 73 74 72 69 6e 67 2e 20 20 54 68 65 ┆a KeySym and a string. The┆ 0x10c0…10e0 20 4b 65 79 53 79 6d 20 69 73 20 6f 62 74 61 69 6e 65 64 20 62 79 20 75 73 69 6e 67 20 74 68 65 ┆ KeySym is obtained by using the┆ 0x10e0…1100 0a 20 20 20 20 20 73 74 61 6e 64 61 72 64 20 69 6e 74 65 72 70 72 65 74 61 74 69 6f 6e 20 6f 66 ┆ standard interpretation of┆ 0x1100…1120 20 74 68 65 20 53 68 69 66 74 2c 20 4c 6f 63 6b 2c 20 61 6e 64 20 67 72 6f 75 70 20 6d 6f 64 69 ┆ the Shift, Lock, and group modi┆ 0x1120…1140 66 2d 0a 20 20 20 20 20 69 65 72 73 20 61 73 20 64 65 66 69 6e 65 64 20 69 6e 20 74 68 65 20 58 ┆f- iers as defined in the X┆ 0x1140…1160 20 50 72 6f 74 6f 63 6f 6c 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 2e 20 20 49 66 20 74 68 65 ┆ Protocol specification. If the┆ 0x1160…1180 0a 20 20 20 20 20 4b 65 79 53 79 6d 20 68 61 73 20 62 65 65 6e 20 72 65 62 6f 75 6e 64 20 28 73 ┆ KeySym has been rebound (s┆ 0x1180…11a0 65 65 20 5f 08 58 5f 08 52 5f 08 65 5f 08 62 5f 08 69 5f 08 6e 5f 08 64 5f 08 4b 5f 08 65 5f 08 ┆ee _ X_ R_ e_ b_ i_ n_ d_ K_ e_ ┆ 0x11a0…11c0 79 5f 08 73 5f 08 79 5f 08 6d 29 2c 20 74 68 65 20 62 6f 75 6e 64 0a 20 20 20 20 20 73 74 72 69 ┆y_ s_ y_ m), the bound stri┆ 0x11c0…11e0 6e 67 20 77 69 6c 6c 20 62 65 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 62 75 66 66 65 72 2e ┆ng will be stored in the buffer.┆ 0x11e0…1200 20 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 20 4b 65 79 53 79 6d 0a 20 20 20 20 20 69 73 20 ┆ Otherwise, the KeySym is ┆ 0x1200…1220 6d 61 70 70 65 64 2c 20 69 66 20 70 6f 73 73 69 62 6c 65 2c 20 74 6f 20 61 6e 20 49 53 4f 20 4c ┆mapped, if possible, to an ISO L┆ 0x1220…1240 61 74 69 6e 2d 31 20 63 68 61 72 61 63 74 65 72 20 6f 72 20 28 69 66 0a 20 20 20 20 20 74 68 65 ┆atin-1 character or (if the┆ 0x1240…1260 20 43 6f 6e 74 72 6f 6c 20 6d 6f 64 69 66 69 65 72 20 69 73 20 6f 6e 29 20 74 6f 20 61 6e 20 41 ┆ Control modifier is on) to an A┆ 0x1260…1280 53 43 49 49 20 63 6f 6e 74 72 6f 6c 20 63 68 61 72 61 63 74 65 72 2c 0a 20 20 20 20 20 61 6e 64 ┆SCII control character, and┆ 0x1280…12a0 20 74 68 61 74 20 63 68 61 72 61 63 74 65 72 20 69 73 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 ┆ that character is stored in the┆ 0x12a0…12c0 20 62 75 66 66 65 72 2e 20 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b 5f 08 75 5f 08 70 5f ┆ buffer. _ X_ L_ o_ o_ k_ u_ p_┆ 0x12c0…12e0 08 53 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 74 ┆ S_ t_ r_ i_ n_ g returns t┆ 0x12e0…1300 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 63 68 61 72 61 63 74 65 72 73 20 74 68 61 74 20 61 72 65 ┆he number of characters that are┆ 0x1300…1320 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 62 75 66 66 65 72 2e 0a 0a 20 20 20 ┆ stored in the buffer. ┆ 0x1320…1340 20 20 49 66 20 70 72 65 73 65 6e 74 20 28 6e 6f 6e 2d 4e 55 4c 4c 29 2c 20 74 68 65 20 5f 08 58 ┆ If present (non-NULL), the _ X┆ 0x1340…1360 5f 08 43 5f 08 6f 5f 08 6d 5f 08 70 5f 08 6f 5f 08 73 5f 08 65 5f 08 53 5f 08 74 5f 08 61 5f 08 ┆_ C_ o_ m_ p_ o_ s_ e_ S_ t_ a_ ┆ 0x1360…1380 74 5f 08 75 5f 08 73 20 73 74 72 75 63 74 75 72 65 20 72 65 63 6f 72 64 73 0a 20 20 20 20 20 74 ┆t_ u_ s structure records t┆ 0x1380…13a0 68 65 20 73 74 61 74 65 2c 20 77 68 69 63 68 20 69 73 20 70 72 69 76 61 74 65 20 74 6f 20 58 6c ┆he state, which is private to Xl┆ 0x13a0…13c0 69 62 2c 20 74 68 61 74 20 6e 65 65 64 73 20 70 72 65 73 65 72 76 61 74 69 6f 6e 0a 20 20 20 20 ┆ib, that needs preservation ┆ 0x13c0…13e0 20 61 63 72 6f 73 73 20 63 61 6c 6c 73 20 74 6f 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b ┆ across calls to _ X_ L_ o_ o_ k┆ 0x13e0…1400 5f 08 75 5f 08 70 5f 08 53 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 20 74 6f 20 69 6d 70 6c ┆_ u_ p_ S_ t_ r_ i_ n_ g to impl┆ 0x1400…1420 65 6d 65 6e 74 20 63 6f 6d 70 6f 73 65 20 70 72 6f 63 65 73 73 2d 0a 20 20 20 20 20 69 6e 67 2e ┆ement compose process- ing.┆ 0x1420…1440 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 52 5f 08 65 5f 08 62 5f 08 69 5f 08 6e 5f 08 64 ┆ The _ X_ R_ e_ b_ i_ n_ d┆ 0x1440…1460 5f 08 4b 5f 08 65 5f 08 79 5f 08 73 5f 08 79 5f 08 6d 20 66 75 6e 63 74 69 6f 6e 20 63 61 6e 20 ┆_ K_ e_ y_ s_ y_ m function can ┆ 0x1460…1480 62 65 20 75 73 65 64 20 74 6f 20 72 65 62 69 6e 64 20 74 68 65 20 6d 65 61 6e 69 6e 67 0a 20 20 ┆be used to rebind the meaning ┆ 0x1480…14a0 20 20 20 6f 66 20 61 20 4b 65 79 53 79 6d 20 66 6f 72 20 74 68 65 20 63 6c 69 65 6e 74 2e 20 20 ┆ of a KeySym for the client. ┆ 0x14a0…14c0 49 74 20 64 6f 65 73 20 6e 6f 74 20 72 65 64 65 66 69 6e 65 20 61 6e 79 20 6b 65 79 20 69 6e 0a ┆It does not redefine any key in ┆ 0x14c0…14e0 20 20 20 20 20 74 68 65 20 58 20 73 65 72 76 65 72 20 62 75 74 20 6d 65 72 65 6c 79 20 70 72 6f ┆ the X server but merely pro┆ 0x14e0…1500 76 69 64 65 73 20 61 6e 20 65 61 73 79 20 77 61 79 20 66 6f 72 20 6c 6f 6e 67 0a 20 20 20 20 20 ┆vides an easy way for long ┆ 0x1500…1520 73 74 72 69 6e 67 73 20 74 6f 20 62 65 20 61 74 74 61 63 68 65 64 20 74 6f 20 6b 65 79 73 2e 20 ┆strings to be attached to keys. ┆ 0x1520…1540 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b 5f 08 75 5f 08 70 5f 08 53 5f 08 74 5f 08 72 5f ┆ _ X_ L_ o_ o_ k_ u_ p_ S_ t_ r_┆ 0x1540…1560 08 69 5f 08 6e 5f 08 67 20 72 65 74 75 72 6e 73 20 74 68 69 73 0a 20 20 20 20 20 73 74 72 69 6e ┆ i_ n_ g returns this strin┆ 0x1560…1580 67 20 77 68 65 6e 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 73 65 74 20 6f 66 20 6d 6f ┆g when the appropriate set of mo┆ 0x1580…15a0 64 69 66 69 65 72 20 6b 65 79 73 20 61 72 65 20 70 72 65 73 73 65 64 0a 20 20 20 20 20 61 6e 64 ┆difier keys are pressed and┆ 0x15a0…15c0 20 77 68 65 6e 20 74 68 65 20 4b 65 79 53 79 6d 20 77 6f 75 6c 64 20 68 61 76 65 20 62 65 65 6e ┆ when the KeySym would have been┆ 0x15c0…15e0 20 75 73 65 64 20 66 6f 72 20 74 68 65 20 74 72 61 6e 73 6c 61 2d 0a 20 20 20 20 20 74 69 6f 6e ┆ used for the transla- tion┆ 0x15e0…1600 2e 20 20 4e 6f 74 65 20 74 68 61 74 20 79 6f 75 20 63 61 6e 20 72 65 62 69 6e 64 20 61 20 4b 65 ┆. Note that you can rebind a Ke┆ 0x1600…1620 79 53 79 6d 20 74 68 61 74 20 6d 61 79 20 6e 6f 74 20 65 78 69 73 74 2e 0a 0a 53 08 53 08 53 08 ┆ySym that may not exist. S S S ┆ 0x1620…1640 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 ┆SE E E EE E E E A A A AL L L LS ┆ 0x1640…1660 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 58 42 75 74 74 6f 6e 45 76 65 6e 74 28 33 ┆S S SO O O O XButtonEvent(3┆ 0x1660…1680 58 31 31 29 2c 20 58 4d 61 70 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 53 74 72 69 6e 67 54 6f ┆X11), XMapEvent(3X11), XStringTo┆ 0x1680…16a0 4b 65 79 73 79 6d 28 33 58 31 31 29 0a 20 20 20 20 20 5f 08 58 5f 08 6c 5f 08 69 5f 08 62 20 2d ┆Keysym(3X11) _ X_ l_ i_ b -┆ 0x16a0…16c0 20 5f 08 43 20 5f 08 4c 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 61 5f 08 67 5f 08 65 20 5f 08 ┆ _ C _ L_ a_ n_ g_ u_ a_ g_ e _ ┆ 0x16c0…16e0 58 20 5f 08 49 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 66 5f 08 61 5f 08 63 5f 08 65 0a 0a 41 ┆X _ I_ n_ t_ e_ r_ f_ a_ c_ e A┆ 0x16e0…1700 75 67 75 73 74 20 31 39 39 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ugust 1991 ┆ 0x1700…1720 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 ┆ TX Programmer's Reference┆ 0x1720…1725 0a 0a 0a 0a 0a ┆ ┆