[Vm-dev] [Unix][X11] some xkeysyms -> unicode mappings, not found in keysymdef.h

Guillermo Polito guillermopolito at gmail.com
Wed Jan 25 19:59:06 UTC 2012


In sqUnixX11.c, xkeysym2ucs4 function, there are some explicit mappings
that are not correlated to any keysym in keysymdef.h :/

I've compared to keysymdef.h in
here<http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h>and
in /usr/include/X11.

They are this ones:

   - 0x12a1 to 0x12fe
   - 0x14a1 to 0x14ff
   - 0x15d0 to 0x15f6
   - 0x16a0 to 0x16f6


    /* Non existing range in keysymdef.h */
    static unsigned short ucs4_12a1_12fe[] = { 0x1e02, 0x1e03, 0x0000,
0x0000,
            0x0000, 0x1e0a, 0x0000, /* 0x12a0-0x12a7 */
            0x1e80, 0x0000, 0x1e82, 0x1e0b, 0x1ef2, 0x0000, 0x0000, 0x0000,
/* 0x12a8-0x12af */
            0x1e1e, 0x1e1f, 0x0000, 0x0000, 0x1e40, 0x1e41, 0x0000, 0x1e56,
/* 0x12b0-0x12b7 */
            0x1e81, 0x1e57, 0x1e83, 0x1e60, 0x1ef3, 0x1e84, 0x1e85, 0x1e61,
/* 0x12b8-0x12bf */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x12c0-0x12c7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x12c8-0x12cf */
            0x0174, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1e6a,
/* 0x12d0-0x12d7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0176, 0x0000,
/* 0x12d8-0x12df */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x12e0-0x12e7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x12e8-0x12ef */
            0x0175, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1e6b,
/* 0x12f0-0x12f7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0177 /*
0x12f0-0x12ff */
    };

    /* Non existing range in keysymdef.h */
    static unsigned short ucs4_14a1_14ff[] = { 0x2741, 0x00a7, 0x0589,
0x0029,
            0x0028, 0x00bb, 0x00ab, /* 0x14a0-0x14a7 */
            0x2014, 0x002e, 0x055d, 0x002c, 0x2013, 0x058a, 0x2026, 0x055c,
/* 0x14a8-0x14af */
            0x055b, 0x055e, 0x0531, 0x0561, 0x0532, 0x0562, 0x0533, 0x0563,
/* 0x14b0-0x14b7 */
            0x0534, 0x0564, 0x0535, 0x0565, 0x0536, 0x0566, 0x0537, 0x0567,
/* 0x14b8-0x14bf */
            0x0538, 0x0568, 0x0539, 0x0569, 0x053a, 0x056a, 0x053b, 0x056b,
/* 0x14c0-0x14c7 */
            0x053c, 0x056c, 0x053d, 0x056d, 0x053e, 0x056e, 0x053f, 0x056f,
/* 0x14c8-0x14cf */
            0x0540, 0x0570, 0x0541, 0x0571, 0x0542, 0x0572, 0x0543, 0x0573,
/* 0x14d0-0x14d7 */
            0x0544, 0x0574, 0x0545, 0x0575, 0x0546, 0x0576, 0x0547, 0x0577,
/* 0x14d8-0x14df */
            0x0548, 0x0578, 0x0549, 0x0579, 0x054a, 0x057a, 0x054b, 0x057b,
/* 0x14e0-0x14e7 */
            0x054c, 0x057c, 0x054d, 0x057d, 0x054e, 0x057e, 0x054f, 0x057f,
/* 0x14e8-0x14ef */
            0x0550, 0x0580, 0x0551, 0x0581, 0x0552, 0x0582, 0x0553, 0x0583,
/* 0x14f0-0x14f7 */
            0x0554, 0x0584, 0x0555, 0x0585, 0x0556, 0x0586, 0x2019, 0x0027,
/* 0x14f8-0x14ff */
    };

    /* Non existing range in keysymdef.h */
    static unsigned short ucs4_15d0_15f6[] = { 0x10d0, 0x10d1, 0x10d2,
0x10d3,
            0x10d4, 0x10d5, 0x10d6, 0x10d7, /* 0x15d0-0x15d7 */
            0x10d8, 0x10d9, 0x10da, 0x10db, 0x10dc, 0x10dd, 0x10de, 0x10df,
/* 0x15d8-0x15df */
            0x10e0, 0x10e1, 0x10e2, 0x10e3, 0x10e4, 0x10e5, 0x10e6, 0x10e7,
/* 0x15e0-0x15e7 */
            0x10e8, 0x10e9, 0x10ea, 0x10eb, 0x10ec, 0x10ed, 0x10ee, 0x10ef,
/* 0x15e8-0x15ef */
            0x10f0, 0x10f1, 0x10f2, 0x10f3, 0x10f4, 0x10f5, 0x10f6 /*
0x15f0-0x15f7 */
    };

    /* Non existing range in keysymdef.h */
    static unsigned short ucs4_16a0_16f6[] = { 0x0000, 0x0000, 0xf0a2,
0x1e8a,
            0x0000, 0xf0a5, 0x012c, 0xf0a7, /* 0x16a0-0x16a7 */
            0xf0a8, 0x01b5, 0x01e6, 0x0000, 0x0000, 0x0000, 0x0000, 0x019f,
/* 0x16a8-0x16af */
            0x0000, 0x017e, 0xf0b2, 0x1e8b, 0x01d1, 0xf0b5, 0x012d, 0xf0b7,
/* 0x16b0-0x16b7 */
            0xf0b8, 0x01b6, 0x01e7, 0x01d2, 0x0000, 0x0000, 0x0000, 0x0275,
/* 0x16b8-0x16bf */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x018f, 0x0000,
/* 0x16c0-0x16c7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x16c8-0x16cf */
            0x0000, 0x1e36, 0xf0d2, 0xf0d3, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x16d0-0x16d7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x16d8-0x16df */
            0x0000, 0x1e37, 0xf0e2, 0xf0e3, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x16e0-0x16e7 */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/* 0x16e8-0x16ef */
            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0259 /*
0x16f0-0x16f6 */
    };

Does anyone know if those mappings are useful? or if they deprecated?

Thanks,
Guille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120125/e15adc25/attachment.htm


More information about the Vm-dev mailing list