The keyboard interfaces and protocols in X
John Found
johnfound at asm32.info
Tue Feb 15 15:42:39 UTC 2022
On Tue, 15 Feb 2022 14:29:05 +0000
Dave Howorth <xorg at howorth.org.uk> wrote:
> On Tue, 15 Feb 2022 15:21:07 +0200
> John Found <johnfound at asm32.info> wrote:
>
> > What is the meaning of the fields in the following structure, in the
> > XkbGetMap reply:
> >
> > KB_KEYSYMMAP 8+4n
> > 4 LISTofCARD8 ktIndex ; What is this?
> > 1 CARD8 groupInfo ; What is this?
> > 1 CARD8 width ; Width of what?
> > 2 n nSyms ; more or less clear
> > 4n LISTofKEYSYM syms ; clear as well.
>
> Oh, and assuming you found this in the XKB Protocol Specification then
> the answers to your question are in the same document, I think. For
> example groupInfo is explained on p32. Just search the document.
Please, could you explain it on this example:
01 14 00 00 = ktIndex - what this means?
02 = groupInfo - what info?
04 = width - of what?
08 00 = 8 keysyms follow
34 00 00 00 = "4"
24 00 00 00 = "$"
00 00 00 00 = NULL
00 00 00 00 = NULL
34 00 00 00 = "4"
24 00 00 00 = "$"
AC 20 00 00 = "€" (euro sign)
AC 20 00 00 = "€" (euro sign)
What the constants 0x01, 0x14 (ktIndex), 0x02 (groupInfo) and
0x04 (width) means?
Thanks.
John Found
More information about the xorg
mailing list