X11 KeySym to Unicode mapping?
David Faure
dfaure at klaralvdalens-datakonsult.se
Wed Oct 29 17:56:41 GMT 2003
On Wednesday 29 October 2003 18:47, Shaheed wrote:
> Hi,
>
> After much scratching of head, I finally realised that an X11 KeySym is not
> the same as a Unicode value (of course its *obvious* when you think about
> it!). The closest thing to a mapping I can find is:
>
> http://www.cl.cam.ac.uk/~mgk25/ucs/keysym2ucs.c
> http://www.cl.cam.ac.uk/~mgk25/ucs/keysym2ucs.h
>
> But the question is, is there already an equivalent mapping somewhere else in
> KDE or Qt, or should I just add these files to kdenonbeta/viki?
XLookupString ?
For the full story see QETWidget::translateKeyEventInternal in qapplication_x11.cpp
--
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
More information about the kde-core-devel
mailing list