Hi Dawid,<div><div>Qt hildon input context doesn't take in account of CTRL as modifier.</div><div>So the keycode is mapped to keysyms (and its corresponding strings) just considering the SHIFT and Fn modifiers.</div><div>
That's why Fn + CTRL + H == Fn + H.</div><div><br></div><div>I don't see any possible workaround, since there are just 3 levels (BASE_LEVEL,NUMERIC_LEVEL, LOCKABLE_LEVEL), and only the first group is used to map the keycodes to keysyms... and actually the polish hw layout makes use of the 2nd group.</div>
<div><br></div><div>To fix Qt to support this layout is an easy task, but I don't know if it makes sense to fix it in Qt since this polish hw layout is just an hack.</div><div><br></div><div>Regards,</div><div>Antonio</div>
<div><br></div><div><br></div><div><div class="gmail_quote">On Wed, Sep 22, 2010 at 12:44 PM, Dawid Lorenz <span dir="ltr"><<a href="mailto:dawid@lorenz.co" target="_blank">dawid@lorenz.co</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using a custom hardware keyboard layout in my N900, which is basically forked /usr/share/X11/xkb/symbols/nokia_vndr file [1], so I can get Polish national characters along with few other chars directly from hw heyboard using Fn+Ctrl+X combination, rather than using that awkward on-screen popup menu.<div>
<br></div><div>Now, the trouble is that it seems like Qt-based applications don't respect this layout and whenever I type -- for example -- Fn+Ctrl+H, which is my shortcut for "{" (curly bracket), I just get "(" instead, which is standard Fn+H character. I've noticed this behaviour in apps like Macuco, KhtEditor (most annoying, as I can't type crucial programming chars!) or FileBox - basically pretty much any Qt-based application around.</div>
<div><br></div><div>Question is simple: is that a bug or a feature and is there any way to work-around this?</div><div><div><br></div><div>[1] <a href="http://blog.adl.pl/polish-hardware-keyboard-layout-for-nokia-n900/400" target="_blank">http://blog.adl.pl/polish-hardware-keyboard-layout-for-nokia-n900/400</a><br clear="all">
<br>-- <br>Dawid 'evad' Lorenz * <a href="http://dawid.lorenz.co/" target="_blank">http://dawid.lorenz.co</a><br><br>null://
I haven't lost my mind - it's backed up on disk somewhere<br>
</div></div>
<br>_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org" target="_blank">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
<br></blockquote></div><br></div>
</div>