[ros-kernel] CAPS, NUMLOCK, Alt+Gr

art yerkes ayerkes at speakeasy.net
Tue Nov 11 00:56:08 CET 2003


I believe we have a completely correct implementation of modifiers now.

I wound up scratching my head for a while, before I realized that I was
getting extended key modifier from both alts due to a bug in keyboard.sys.
After fixing that, The right alt behaves as Alt+Gr and the left one as Alt,
so I can type ~ using Alt+Gr + 2.

Because I can't get to the CVS server, I'm sending a zip of the modified
files.  I'm going to submit a patch in the morning (and commit the bug
fix in keyboard.sys)

I verified that these keys all work:
[AltGr]+[é2] -> '~' (DEAD) *
[AltGr]+["3] -> '#'
[AltGr]+['4] -> '{'
[AltGr]+[(5] -> '['
[AltGr]+[-6] -> '|'
[AltGr]+[è7] -> '`' (DEAD) *
[AltGr]+[_8] -> '\'
[AltGr]+[ç9] -> '^' (not DEAD) *
[AltGr]+[à0] -> '@' 
[AltGr]+[)°] -> ']' *
[AltGr]+[=+] -> '}' *

Known bugs:
NUMLOCK ON + Keypad Delete does not generate '.'.  I believe we're missing a
VK_DECIMAL -> '.' rule in the key maps.
-- 
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected
 without, I thought, proper consideration."
   - S. Kelly-Bootle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kbdgood.zip
Type: application/x-zip-compressed
Size: 45610 bytes
Desc: not available
Url : http://reactos.geldorp.nl:8080/pipermail/ros-kernel/attachments/20031111/0bb292dc/kbdgood-0001.bin


More information about the Ros-kernel mailing list