http://bugs.winehq.org/show_bug.cgi?id=12939
--- Comment #13 from Harald Judt h.judt@gmx.at 2008-12-20 12:48:43 --- Here is my xmodmap output, for completeness' sake: Control_L (0x42) is the reconfigured Caps_Lock key, while Control_L (0x25) is the real Control_L key.
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e) lock control Control_L (0x25), Control_R (0x69), Control_L (0x42) mod1 Alt_L (0x40), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
I've also used the following configuration:
lock control Control_L (0x25), Control_R (0x69), Caps_Lock (0x42)
Result: Caps_Lock does not function as a control key in wine (which makes sense here, since it will be reported as Caps_Lock), but does so in other applications (I guess these use a different way to determine whether you pressed a modifier key).