Re: How to call an internal wine function ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

Code:

$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)
mod3
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.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux