[ros-kernel] hard to code kbdxx.c without knowing C enough

correasilva at tugamail.com correasilva at tugamail.com
Wed Jan 14 21:54:52 CET 2004


Hi! 

> Having a look at Kbdsw_Swedish_pkf.txt in the CCode folder it seems like the files are not entirely correct. 
> The virtual keys OEM_3, OEM_6 and OEM_7 are flagged to be NOCAPS, which is not true in swedish (and probably not on a polish keyboard layout either).

The other bug my converter still has is about unicode - a good example is 
about Euro character - i used Euro-Ascii (0x80), and some font designers 
uses also replacing the 'Currency' character on IsoLatin-Ascii (0xA4) 
(IsoLatin-Ascii is maybe the most used Ascii encoding, covering maybe more 
than 1/3 of mankind, maybe more about computer users, i'm not sure off 
course) - unicode seems to be 0x20AC  -taking a look about, for example, 
native Indian keymaps (at least from Linux keymap definitions, i think is 
around 6 different available... 'Goddess gracious me...' ;)) ) seems to use 
unicode a lot. 

 


> For reference have a look at http://www.msdn.microsoft.com/library/default.asp?
url=/library/en-us/wceddk40/html/cmconswedishkeyboard.asp
> The order of ther modifier keys are also different for different layouts. For
english keyboards the order is "none, shift, ctrl, shift-ctrl, ctrl-alt, 
shift-ctrl-alt" , while for german and swedish the order is "none, 
ctrl,ctrl-
alt(alt-gr), shift-ctrl". 

I think this information you're telling is from the ms url you're telling - 
it's important more for compatibility than for coming from where it comes... 
(my idea is Swedish and Portuguese keymaps are incomplete) 

The goal would be uniformize it (no surprising ms providing confusing 
documentation) - would be all keymaps having the same order, and the most 
complete as possible, would maybe all should be just "none, shift, ctrl, 
shift-ctrl, ctrl-alt, shift-ctrl-alt" because it's nicely more complete 

 


> Of course the order could be implemented differently, but this way only the modifier keys used for the current layout have to be declared, saving memory (there are a lot of possible modifier key combinations). 

my oppinion is about keymaps being the most complete as possible, not only 
for uniformize, as well fitting futurely our personal and professional needs 
in the unicode issue (including phonetics and mathmaticians specific needs, 
for example, not telling also about needs of deeply bilingual (or more) 
'foreign' people too) 

my idea is maybe we can collect keymap suggestions and needs would help 
ReactOS and all other open-source OSes   - and please take a look at 
ctrl+alt and shift+ctrl+alt combinations if are good for kbdse.c and if you 
have suggestions for  standard characters for these ones (MacOS keymaps are 
good examples about how they could uniformize it - the option and 
shift+option combinations are not deeply different between PT, SE, UK and 
US) 

 


> Good luck!
tnkz! 

btw, for now, i only need help to getting kbdxx.c code good enough to get 
compilable (maybe my resulted code needs huge fixes...), and information 
about how can i compile kbdxx.c keymap sources with MinGW, and changing 
these kbdxx.dll keymaps into ReactOS 


regards
Paulo 

 


 ----------------------------------------
Tugamail.com
O maior serviço portugues de e-mail
100% gratuito e 100% completo!
http://www.tugamail.com
 ---------------------------------------- 



More information about the Ros-kernel mailing list