Re: XKB Patch

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
> 0x0000041d = Swedish keyboard layout
> 
> scan code 0x1a corresponds to virtual key code VK_OEM_4
> 
> Using a set of maps exported from the XKB database, a map of keycodes to virtual key codes would be loaded.
> 0x0000041d would be sent either automatically from auto-detection of keyboard layout or from user specified
> settings, in order to specify a Swedish keyboard layout. When the user would press the key that is _consistently_
> called VK_OEM_4, rdesktop would send scan code 0x1a, and the server would then interpret 0x1a as being aring
> according to the Swedish keyboard layout.

But how would rdesktop know that it should translate keycode 255 to 
VK_OEM_4? The answer is that it cannot, since there's no keycode with 
value 255 at all in the XKB database. Besides, the keycode might be 255 
today, but 254 or something else tomorrow. Please try to understand that 
your approach of looking at the keycode does not work.


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.