Aric Stewart aric@codeweavers.com writes:
I like Michael's idea of initializing this lookup array on initialization of the keyboard. Then we only have to worry about it if the user switches keyboard layouts mid program and since last i looked wine does not support that anyway we would be ok.
Wine does support dynamic keyboard changes, so you'd need to refresh the mapping at that point. I doubt it's worth the trouble.