abnt2 keyboard fix

Rafael Ávila de Espíndola rafael.espindola at ic.unicamp.br
Fri Apr 9 09:41:19 CDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have realised that the tables main_key_scan_abnt_qwerty and 
main_key_vkey_abnt_qwerty are both wrong. But one error compensates the 
other. For example, when I press x the message "Translating key VK_Z..." is 
displayed and an 'x' appears on the screen. The other problem with the abnt2 
keyboard is that wine assumes that:
/* Only the Keypad keys 0-9 and . send different keysyms
* depending on the NumLock state */

This is not true for the abnt2 keyboard. The comma may also work as a delete. 
The attached patch solves both problems.

I have tested the patch with a abnt2 and a us-int keyboard. Both work 
correctly.

One last comment: as far as I know, all abnt2 keyboards have an "alt gr" key.
How may I contact Mauro Carvalho Chehab and Raul Gomes Fernandes?

Thanks
Rafael Ávila de Espíndola
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAdrYZLlrfGJ8JUHwRAkxbAKCdrcsZ52jBWNtGqggmEzCKevhCgwCfclmx
0uNw50qMBFAp5HzZdIBtCjY=
=NdP/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abnt2.diff
Type: text/x-diff
Size: 1164 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040409/1650c32b/abnt2.bin


More information about the wine-devel mailing list