Re: XKB Patch

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
> You should find a perl script called xkb.pl in the xkb folder in my patch. To try it, all you have to do is download the latest version of the xkb
> configuration database here: http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-1.5.tar.bz2
> 
> Copy the perl script in the root of the directory of maps, and then run it. The script will generate new keycode -> virtual keycode maps in a "xkb" sub
> directory. You may also use the existing maps from your XKB installation if you have it installed.
> 
> The majority of new lines of source code is made of macro definitions and arrays of structures used for mapping. Most of the actual code that isn't made
> out of definitions is in xkbkeymap.c.
> 
> The reason why we can't make a perl script that will export keymaps in the current format from the XKB configuration database is because it is much more
> easier and efficient to map keycodes -> virtual key codes instead of doing key sym -> keycode -> virtual key code. key syms are already mapped according

If I understand you correctly, you are using the keycode at runtime? You 
can't do that; it doesn't have a meaning outside the installed keyboard 
layout mapping.

If not using XKB, applications are only "allowed" to use the keysyms.

Rgds, 
---
Peter Åstrand		ThinLinc Chief Developer
Cendio AB		http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping	Phone: +46-13-21 46 00

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

_______________________________________________
rdesktop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.