Re: XKB Patch

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
On Mon, 18 May 2009, Marc-André Moreau wrote:

> Sure, but that doesn't mean that they are usable.
> 
>
>       keycodes alone are unreliable as they are
>       hardware dependent, but that was the whole point of using the XKB *database* to map them a
>       consistent naming system
>       (XKB key names / virtual key codes).

Perhaps an example helps. In a typical Xvnc session, you have have a 
layout that includes this mapping:

$ xmodmap -pke | grep aring
keycode 255 = aring

To get a "aring" in the remove RDP session, one needs to send a keyboard 
layout code of 0x0000041d, and then the scancode 0x1a.

Now tell me: How do you know that the keycode 255 should be translated to 
scancode 0x1a, by using the XKB database?

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.