With the help of Wladimir Palant, I've patched the WineSkin Mac driver so that the Option key in OS X types the Alt key in the Windows application, and the Cmd key in OS X types the Win key in the Windows application.
Here is the patched file:
[https://www.dropbox.com/s/e799aofw280gi3a/winemac.drv.so]
Find the original file in your wrapper, in Contents, Frameworks, wswine.bundle, lib, wine. Make a backup of the original. Drop in the patched version.
And here is the modified source code of the one file in the wine source that needs to be changed to produce this version, modified from the current git version:
[https://www.dropbox.com/s/wa672ngxj6zp9yx/keyboard.c]
I'm not sure I have all the details right, but this seems to work.
If you want similar mappings for the X11 driver, see my post here:
[http://portingteam.com/topic/9966-xmodmap-question-how-to-make-cmd-key-act-like-win-key-not-alt-key/#entry100925]
↧