[SailfishDevel] Accent with maliit keyboard (QML mockup)

Caliste Damien dcaliste at free.fr
Tue Dec 3 21:44:36 UTC 2013


Hello,

Le lundi 02 décembre 2013, dcaliste at free.fr a écrit :
> which would give after pressing it (like the shift key):
> à|w|é
> shift|æ|è|
> Fn|ç|ù
> 
> Are my explanations clearer ? What piece of code should I give a look
> at to add a key that acts like the shift key by changing the layout
> of the whole keyboard (once if pressed once or locked if pressed
> twice) ?
Ok, maybe I was not clear so I made a small working QML mockup. Can
anyone would tell me how to implement this in a Maliit plugin so it
would replace the current French layout ?

Press the "up" button near to capslock button to obtain the alternative
layout.

I didn't implement the triple states (none, once, locked) of capslock
and the new altgr button (only none and once states), but the idea is
here !

Please help !

Damien.

PS : the position of the different letters in the alternative layout is
just an idea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ukbd.qml
Type: text/x-qml
Size: 6918 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131203/cfeaf018/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ukbd.cpp
Type: text/x-c++src
Size: 129 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131203/cfeaf018/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ukbd.pro
Type: text/x-cmake
Size: 426 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131203/cfeaf018/attachment-0001.bin>


More information about the Devel mailing list