abnt2 keyboard

Rafael Ávila de Espíndola rafael.espindola at ic.unicamp.br
Wed Apr 7 08:27:58 CDT 2004


The attached patch fixes the problem that wine has with the abnt2 (Brazilian) 
keyboard. The problem was recently discussed in wine-devel.
While reading dlls/x11drv/keyboard.c I notice that wine does a linear search 
to convert a virtKey to a keycode. Could this be optimized/simplified by 
pre-computing a vkey2keyc[(e->state & NumLockMask)!=0] table?

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abnt2.diff
Type: text/x-diff
Size: 1276 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040407/912ee8be/abnt2.bin


More information about the wine-patches mailing list