Reply
Thread Tools
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#1
This is an experiment in trying to source the Talk community in order to help you get your country's keyboard layouts into our on screen keyboard in Mer.

Basically, we've found that him-arabic (the input method for arabic) is actually a keyboard layout engine (it reads from XML), and we would like to ask -you- to help contribute keyboard layouts so we can have full support for your preferred layouts.

The layouts are XML files (UTF-8) and very simple. An example of Arabic can be seen here with the graphical version seen here. The example of english layout can be found here

Basic structure:

* <him-arabic>
** <layout mode="0"> (0 meaning shift not pressed, 1 means shift pressed)
*** <row> repeat these elements per row you want
**** <key name="character" expand="1 if it should expand and fill - look at the space button in the image, 0 otherwise" />
**** Add as many keys as needed in the row
*** </row>
** <layout>
** Make both a shift not pressed and shift pressed layout.
* </him-arabic>

We currently have:

Arabic
English
Hebrew
German (by thp)
Finnish/Swedish/Norwegian (by Meizirkki)
Russian (by 412b)
French (by fredoll)
Portuguese-speaking countries (Brazil, Portugal, Angola, Mozambique, etc.) (by Bobbe)
Italian (by debernardis)
Persian/Farsi (by Claudius)


- will update list as new layouts come in.

When posting please do it in the following manner:

* Attach the .xml file to the post
* Acknowledge that the layout is licensed GPLv2 or later, and write what name you would like to be acknowledged with in AUTHORS
* Indicate which keyboard layout it is
* Any comments related to the layout.

If anyone wants to help extend him-arabic (it's c++) to make it a more generic keyboard engine, come talk to us in #mer on irc.freenode.net

Thanks in advance!
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.

Last edited by Stskeeps; 2009-06-04 at 10:43.
 

The Following 11 Users Say Thank You to Stskeeps For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
Some notes:
* Number of rows is not fixed at four. It can be less, or more, and the keys will be resized accordingly.
* Current layout is a bit different - there is no "special keys" key, it is replaced by "shift-lock".
 

The Following User Says Thank You to Matan For This Useful Post:
Posts: 19 | Thanked: 14 times | Joined on Feb 2008 @ Leipzig, Germany
#3
Why is the arabic keyboard layout that you supplied missing the numbers?
 

The Following User Says Thank You to Claudius For This Useful Post:
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#4
Originally Posted by Claudius View Post
Why is the arabic keyboard layout that you supplied missing the numbers?
They're in shift, it seems like, see:
<layout mode_b="1">
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following User Says Thank You to Stskeeps For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#5
How interchangeable is this with the matchbox-keyboard layouts? The XML looks very similar.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#6
German (de) Keyboard Layout for him-arabic/Mer
License: GPLv2 or later; by Thomas Perl
Comments: Based on the "en" example and the Maemo 4 on-screen keyboard for "de"
Attached Files
File Type: txt de.xml.txt (3.0 KB, 398 views)
 

The Following 7 Users Say Thank You to thp For This Useful Post:
Posts: 607 | Thanked: 296 times | Joined on Jun 2008 @ Finland
#7
Finnish layout.
(C) 2009 Roope Kuisma
GPLv2 or later
4 row keyboard based on the arabic plugin and the keyboard lying on my desk.

Code:
1st row:
(normal) q w e r t y u i o p å ?
(shifted) Q W E R T Y U I O P Å !

2nd row
(normal) a s d f g h j k l ö ä '
(shifted) A S D F G H J K L Ö Ä ~

3rd row
(normal) z x c v b n m , . - / \
(shifted) Z X C V B N M ; : _ ( )

4th row:
(normal) space
(shifted) 1 2 3 4 5 6 7 8 9 0 space
Would this layout be okay for Swedish / Norwegian ppl too?

If you have suggestions let me know.
Attached Files
File Type: txt fi.xml.txt (2.5 KB, 353 views)
__________________
Touch Book .. do not waste you money on it.
 

The Following 5 Users Say Thank You to meizirkki For This Useful Post:
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#8
French (fr) Keyboard Layout for him-arabic/Mer
License: GPLv2 or later; by Fred Lefévère-Laoide
Comments: A french layout based on thp's file and my laptop keyboard

Last edited by fredoll; 2009-06-05 at 15:45. Reason: remove to put the UTF-8 version in response to Matan
 

The Following 3 Users Say Thank You to fredoll For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#9
I'll try to make one based on my French N10 ASAP - not too much free time ATM unfortunately.
 
Posts: 119 | Thanked: 79 times | Joined on May 2009 @ Brasilia, Brazil
#10
Just checking, we're supposed to use HTML codes for accents right?

If so, can we use both html entities and Ascii?

Last edited by Bobbe; 2009-06-03 at 12:57.
 
Reply

Tags
crowdsourcing, hildon, mer


 
Forum Jump


All times are GMT. The time now is 06:18.