Keyboard layout detection not working??
dmitry at baikal.ru
Tue May 28 23:11:37 CDT 2002
"Shachar Shemesh" <wine-devel at sun.consumer.org.il> wrote:
> I am using Debian SID with KDE. In KDE, I defined two keyboard layouts
> (US and IL).
Please provide them for reference. I would suggest create new keyboard
layouts using existing tables at /etc/X11/xkb/symbols/ though.
> I tried to add Israeli keyboard detection using the
> attached patch (layout.diff). When trying to test that patch, however, I
> perform the following task:
> I type in the command as suggested in the docs (wine --debugmsg
> +key,+keyboard >& key.log). Attached are two run attempts. key.log is
> with the US keyboard selected, key2.log is with the Hebrew keyboard
I guess that you should create 4 characters per key layout.
> 3. There does not appear to be any code that detects layout changes
> in X11, and sends the apropriate WM_INPUTLANGCHANGE message.
It can be easyly added to the MappingNotify event handler.
More information about the wine-devel