XML layouts for onscreen keyboard

Björn Ruberg bjoern at ruberg-wegener.de
Sun Mar 21 17:12:25 CET 2010


Hello,

I'm reworking the onscreen keyboard we already have in 4.4. One of the big 
improvements is that I want to come away from hard coded key layouts and use 
something (user-) configuerable. So it would be very easy to add a layout for 
mobile phones - currently its aimed at bigger tablets.

So I want to use xml files for storing the layouts in it. This is only 
partially about localisation, because that is done mainly by the X-server. 
Main goal is to have different or customized layouts for different usages. 

I want to use a XML file similar like matchbox-keyboard uses:
http://wiki.openmoko.org/wiki/Change_keyboard_layout

My questions are:
- What c++ library should I use for reading in the xml-file?
- How can I get a xml file to be installed by cmake?
- And where should it be installed to?

Thanks for help!


More information about the Plasma-devel mailing list