http://bugs.winehq.org/show_bug.cgi?id=15350
--- Comment #28 from AnAkkk anakin.cs@gmail.com --- It's not perfect though, it only uses the 1st layout in XKB, not the currently selected one (which is fine for me, but some people might use multiple layouts). Although that might be a different issue.