OLPC Khmer Keyboard

From OLPC
Revision as of 17:59, 25 January 2008 by Walter (talk | contribs) (→‎OLPC section of the XKB symbol file: just the changes)
Jump to navigation Jump to search
  This page is monitored by the OLPC team.


OLPC keyboard layouts

Instructions for setting up keyboard switching in Terminal are on the Customizing NAND images page. On bilingual XOs, the multiplication/division key is replaced with a keyboard switching key.

Changing the language of the keyboard is independent of changing the language currently displayed. The language currently displayed can be changed by using the Language section of the Sugar Control Panel.

Membrane keyboard layouts

English (US international); Spanish (Latin America); Portuguese (Brazilian); Amharic (Ethiopic); Arabic; Nigerian (Igbo, Hausa, Yoruba); French; Thai; Urdu; Cyrillic (Russian); Turkish; Nepali; Mongolian; Kazakh; Devanagari; Uzbek; Pashto; Dari; Armenian; Khmer; Pulaar; Italian; Kreyòl; German; Chinese (Simplified); OLPC AZERTY

Non-membrane keyboard layouts

Starting with the XO-1.5 HS ("High School") edition, the XO laptop has a traditional (non-membrane) keyboard available as an option: English (US International); Spanish (Latin America);

Blank Keyboard Artwork

Artwork defining the inner dimensions of the membrane keyboard is available here: keyboard-blank.svg



Khmer keyboard layout

Khmer (first draft)

OLPC section of the XKB symbol file

To use the XKB Khmer layout along with US layout, you may need to edit /etc/X11/xorg.conf. This will make "us" the first and "kh" a second layout:

XkbLayout "us,kh"
XkbVariant "olpc2,olpc"
partial default alphanumeric_keys
xkb_symbols "olpc" {
    include "kh(basic)"
    
// Contact Walter@laptop.org

    key <AE01> { [ 0x10017e1,		0x100200c,		exclam, 	0x10017f1	] };
    key <AE03> { [ 0x10017e3,		0x10017d1,		quotedbl, 	0x10017f3	] };
    key <AE05> { [ 0x10017e5,		EuroSign,		percent, 	0x10017f5	] };
    key <AE12> { [ 0x10017b2,		0x10017ce,		equal, 	 	voidsymbol	] };
    key <AC10> { [ 0x10017be,		0x10017c8,		0x10017d6, 	0x10019f5	] };

   //language key
   key <I219> { [ ISO_Next_Group,  ISO_Prev_Group ] };
};