[Wine] Re: How to call an internal wine function ?

vitamin wineforum-user at winehq.org
Sun Jan 31 13:34:38 CST 2010

Alex wrote:
> The '#' char is present on the '3' key and '~' is on the '2'.

Looks like a bug in Xorg's key layout table(s) or Xorg itself. XKeycodeToKeysym(,0x12, index) should return 0x23 at least for one index (0..3). But it doesn't. Here is what xmodpap says:


$xmodmap -pk | grep numbersign
     12         0x0022 (quotedbl)       0x0033 (3)      0x0022 (quotedbl)       0x0033 (3)      0x0023 (numbersign)     0x00a3 (sterling)
$xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x69)
mod1        Alt_L (0x40),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod4        Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c),  Mode_switch (0xcb)

Which means "#" sign is outputted with modifier "mod4". Not exactly sure how that "index" maps to modifier. But Wine gets AltGrMask as 0... You can look around and see if this is all correct. Could be some mapping/logic error somewhere.

More information about the wine-users mailing list