http://bugs.winehq.org/show_bug.cgi?id=21307
--- Comment #14 from Jörg Höhle hoehle@users.sourceforge.net 2010-05-07 03:17:03 ---
However, a comment above does not recommend adding these AltGr keys to the
table.
But what's a keyboard without {} [] | or @ ?
I hope the comments now in the source make it clear: +/* These tables serve to guess the keyboard type and scancode mapping. + Complete modeling is not important, identification/discrimination is. */
E.g. a keyboard definition with only 'AZERTY' and all other keys left as \0 in theory would be enough to recognize for sure a French keyboard (Swiss, Canadians etc. please ignore). In practice, this wouldn't work because the other definitions contain more matching keys. The tables do not implement a minimal discrimination tree.
The keyboard is not lacking [] | @ etc. as you can verify with Wine's notepad. These are just not essential to identify a French keyboard. Furthermore, being to precise may backfire, as the next comment explains (about the German keyboard): + * Keys reachable via AltGr (@, [], ~, , |, {}) differ completely + * among PC and Mac keyboards, so these are not listed. I have no idea what a French Mac keyboard looks like.