-----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