OLPC Devanagari Keyboard

From OLPC
Jump to navigation Jump to search

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



Devanagari Keyboard Layout

This is not the layout used for Nepal's deployments. Go here for Nepal's keyboard layout.

Devanagari keyboard
XKB KEY HID key unmodified shift alt gr alt gr shift ctrl fn comment
0x38 110 esc HK_01
0x79 140 HK_00 search
0x3A 112 XK_ViewMesh F1, analog 1
0x77 141 HK_02 analog 2
0x3B 113 XK_ViewFriends F2, analog 3
0x76 142 HK_07 analog 4
0x3C 114 XK_ViewHome F3, analog 5
0x75 143 HK_08 analog 6
0x3D 115 XK_ViewActivity F4, analog 7
0x3E 116 F5, analog 8
0x74 144 HK_09 analog 9
0x3F 117 F6, analog 10
0x73 145 HK_10 analog 11
0x40 118 F7, analog 12
0x72 146 HK_11 analog 13
0x41 119 F8, analog 14
0x42 120 F9, analog 15
0x71 147 HK_12 analog 16
0x43 121 F10, analog 17
0x70 148 HK_13 analog 18
0x44 122 F11, analog 19
0x6F 149 HK_14 analog 20
0x45 123 F12, analog 21
0x6E 150 HK_05 bulletin board
0x5D 129 XK_Menu HK_06 frame
key <TLDE> 0x01 1 grave asciitilde 0x100094A 0x1000912 DEVANAGARI VOWEL SIGN SHORT O; DEVANAGARI LETTER SHORT O
key <AE01> 0x1E 2 1 exclam 0x1000967 0x100090D DEVANAGARI DIGIT ONE; DEVANAGARI LETTER CANDRA E
key <AE02> 0x1F 3 2 at 0x1000968 0x1000945 C-@ DEVANAGARI DIGIT TWO; DEVANAGARI VOWEL SIGN CANDRA E
key <AE03> 0x20 4 3 numbersign 0x1000969 DEVANAGARI DIGIT THREE;
key <AE04> 0x21 5 4 dollar 0x100096A DEVANAGARI DIGIT FOUR;
key <AE05> 0x22 6 5 percent 0x100096B DEVANAGARI DIGIT FIVE;
key <AE06> 0x23 7 6 asciicircum 0x100096C C-^ DEVANAGARI DIGIT SIX;
key <AE07> 0x24 8 7 ampersand 0x100096D DEVANAGARI DIGIT SEVEN;
key <AE08> 0x25 9 8 asterisk 0x100096E DEVANAGARI DIGIT EIGHT;
key <AE09> 0x26 10 9 parenleft 0x100096F parenleft DEVANAGARI DIGIT NINE;
key <AE10> 0x27 11 0 parenright 0x1000966 parenright DEVANAGARI DIGIT ZERO;
key <AE11> 0x2D 12 minus underscore minus 0x1000903 C-_ DEVANAGARI SIGN VISARGA;
key <AE12> 0x2E 13 equal plus 0x1000943 0x100090B DEVANAGARI VOWEL SIGN VOCALIC R; DEVANAGARI LETTER VOCALIC R
key <BKSP> 0x2A 15 backspace delete
key <TAB> 0x2B 16 tab back tab
key <AD01> 0x14 17 q Q 0x100094C 0x1000914 C-Q DEVANAGARI VOWEL SIGN AU; DEVANAGARI LETTER AU
key <AD02> 0x1A 18 w W 0x1000948 0x1000910 C-W DEVANAGARI VOWEL SIGN AI; DEVANAGARI LETTER AI
key <AD03> 0x08 19 e E 0x100093E 0x1000906 C-E DEVANAGARI VOWEL SIGN AA; DEVANAGARI LETTER AA
key <AD04> 0x15 20 r R 0x1000940 0x1000908 C-R DEVANAGARI VOWEL SIGN II; DEVANAGARI LETTER II
key <AD05> 0x17 21 t T 0x1000942 0x100090A C-T DEVANAGARI VOWEL SIGN UU; DEVANAGARI LETTER UU
key <AD06> 0x1C 22 y Y 0x100092C 0x100092D C-Y DEVANAGARI LETTER BA; DEVANAGARI LETTER BHA
key <AD07> 0x18 23 u U 0x1000939 0x1000919 C-U DEVANAGARI LETTER HA; DEVANAGARI LETTER NGA
key <AD08> 0x0C 24 i I 0x1000917 0x1000918 C-I DEVANAGARI LETTER GA; DEVANAGARI LETTER GHA
key <AD09> 0x12 25 o O 0x1000926 0x1000927 C-O DEVANAGARI LETTER DA; DEVANAGARI LETTER DHA
key <AD10> 0x13 26 p P 0x100091C 0x100091D C-P DEVANAGARI LETTER JA; DEVANAGARI LETTER JHA
key <AD11> 0x2F 27 [ { 0x1000921 0x1000922 C-[ DEVANAGARI LETTER DDA; DEVANAGARI LETTER DDHA
key <AD12> 0x30 28 ] } 0x100093C 0x100091E C-] DEVANAGARI SIGN NUKTA; DEVANAGARI LETTER NYA
key <CAPS> 0xE0 58 control
key <AC01> 0x04 31 a A 0x100094B 0x1000913 C-A DEVANAGARI VOWEL SIGN O; DEVANAGARI LETTER O
key <AC02> 0x16 32 s S 0x1000947 0x100090F C-S DEVANAGARI VOWEL SIGN E; DEVANAGARI LETTER E
key <AC03> 0x07 33 d D 0x100094D 0x1000905 C-D DEVANAGARI SIGN VIRAMA; DEVANAGARI LETTER A
key <AC04> 0x09 34 f F 0x100093F 0x1000907 C-F DEVANAGARI VOWEL SIGN I; DEVANAGARI LETTER I
key <AC05> 0x0A 35 g G 0x1000941 0x1000909 C-G DEVANAGARI VOWEL SIGN U; DEVANAGARI LETTER U
key <AC06> 0x0B 36 h H 0x100092A 0x100092B C-H DEVANAGARI LETTER PA; DEVANAGARI LETTER PHA
key <AC07> 0x0D 37 j J 0x1000930 0x1000931 C-J DEVANAGARI LETTER RA; DEVANAGARI LETTER RRA
key <AC08> 0x0E 38 k K 0x1000915 0x1000916 C-K DEVANAGARI LETTER KA; DEVANAGARI LETTER KHA
key <AC09> 0x0F 39 l L 0x1000924 0x1000925 C-L DEVANAGARI LETTER TA; DEVANAGARI LETTER THA
key <AC10> 0x33 40 semicolon colon 0x100091A 0x100091B DEVANAGARI LETTER CA; DEVANAGARI LETTER CHA
key <AC11> 0x34 41 apostrophe quotedbl 0x100091F 0x1000920 DEVANAGARI LETTER TTA; DEVANAGARI LETTER TTHA
key <BKSL> 0x31 42 backslash bar 0x1000949 0x1000911 C-\ DEVANAGARI VOWEL SIGN CANDRA O; DEVANAGARI LETTER CANDRA O
key <RTRN> 0x28 43 enter insert
key <LFSH> 0xE1 44 left shift
key <AB01> 0x1D 46 z Z 0x1000946 0x100090E C-Z DEVANAGARI VOWEL SIGN SHORT E; DEVANAGARI LETTER SHORT E
key <AB02> 0x1B 47 x X 0x1000902 0x1000901 C-X DEVANAGARI SIGN ANUSVARA; DEVANAGARI SIGN CANDRABINDU
key <AB03> 0x06 48 c C 0x100092E 0x1000923 C-C DEVANAGARI LETTER MA; DEVANAGARI LETTER NNA
key <AB04> 0x19 49 v V 0x1000928 0x1000929 C-V DEVANAGARI LETTER NA; DEVANAGARI LETTER NNNA
key <AB05> 0x05 50 b B 0x1000935 0x1000934 C-B DEVANAGARI LETTER VA; DEVANAGARI LETTER LLLA
key <AB06> 0x11 51 n N 0x1000932 0x1000933 C-N DEVANAGARI LETTER LA; DEVANAGARI LETTER LLA
key <AB07> 0x10 52 m M 0x1000938 0x1000936 C-M DEVANAGARI LETTER SA; DEVANAGARI LETTER SHA
key <AB08> 0x36 53 comma less comma 0x1000937 DEVANAGARI LETTER SSA
key <AB09> 0x37 54 period greater period 0x1000964 DEVANAGARI DANDA
key <AB10> 0x38 55 slash question 0x100092F 0x100095F DEVANAGARI LETTER YA; DEVANAGARI LETTER YYA
key <RTSH> 0xE5 57 right shift
key <UP> 0x52 83 up arrow page up
key <LSGT> 0x73 56 multiply division ISO_Next_Group ISO_Prev_Group HK_04
0xE1 59 fn
0x5B 127 XK_Grab_L
key <LALT> 0xE2 60 alt
key <SPCE> 0x2C 61 space space 0x100200c 0x100200d XK_ViewSource Zero-Width-Non-Joiner (ZWNJ); Zero-Width-Joiner (ZWJ)
key <RALT> 0xE6 62 alt gr
0x5C 128 XK_Grab_R HK_03
key <LEFT> 0x50 79 left arrow home
key <DOWN> 0x51 84 down arrow page down
key <RGHT> 0x4F 89 right arrow end

OLPC section of the XKB symbol file

partial alphanumeric_keys
xkb_symbols "olpc" {

// Contact: Walter Bender <walter@laptop.org>

  include "in(deva)"
  key <TLDE> { [	0x100094A,	0x1000912 ] }; // DEVANAGARI VOWEL SIGN SHORT O; DEVANAGARI LETTER SHORT O
  key <AE01> { [	0x1000967,	0x100090D ] }; // DEVANAGARI DIGIT ONE; DEVANAGARI LETTER CANDRA E
  key <AE02> { [	0x1000968,	0x1000945 ] }; // DEVANAGARI DIGIT TWO; DEVANAGARI VOWEL SIGN CANDRA E
  key <AE03> { [	0x1000969	 ] }; // DEVANAGARI DIGIT THREE; 
  key <AE04> { [	0x100096A	 ] }; // DEVANAGARI DIGIT FOUR; 
  key <AE05> { [	0x100096B	 ] }; // DEVANAGARI DIGIT FIVE; 
  key <AE06> { [	0x100096C	 ] }; // DEVANAGARI DIGIT SIX; 
  key <AE07> { [	0x100096D	 ] }; // DEVANAGARI DIGIT SEVEN; 
  key <AE08> { [	0x100096E	 ] }; // DEVANAGARI DIGIT EIGHT; 
  key <AE09> { [	0x100096F,	parenleft ] }; // DEVANAGARI DIGIT NINE; 
  key <AE10> { [	0x1000966,	parenright ] }; // DEVANAGARI DIGIT ZERO; 
  key <AE11> { [	minus,		0x1000903 ] }; // DEVANAGARI SIGN VISARGA; 
  key <AE12> { [	0x1000943,	0x100090B ] }; // DEVANAGARI VOWEL SIGN VOCALIC R; DEVANAGARI LETTER VOCALIC R

  key <AD01> { [	0x100094C,	0x1000914 ] }; // DEVANAGARI VOWEL SIGN AU; DEVANAGARI LETTER AU
  key <AD02> { [	0x1000948,	0x1000910 ] }; // DEVANAGARI VOWEL SIGN AI; DEVANAGARI LETTER AI
  key <AD03> { [	0x100093E,	0x1000906 ] }; // DEVANAGARI VOWEL SIGN AA; DEVANAGARI LETTER AA
  key <AD04> { [	0x1000940,	0x1000908 ] }; // DEVANAGARI VOWEL SIGN II; DEVANAGARI LETTER II
  key <AD05> { [	0x1000942,	0x100090A ] }; // DEVANAGARI VOWEL SIGN UU; DEVANAGARI LETTER UU
  key <AD06> { [	0x100092C,	0x100092D ] }; // DEVANAGARI LETTER BA; DEVANAGARI LETTER BHA
  key <AD07> { [	0x1000939,	0x1000919 ] }; // DEVANAGARI LETTER HA; DEVANAGARI LETTER NGA
  key <AD08> { [	0x1000917,	0x1000918 ] }; // DEVANAGARI LETTER GA; DEVANAGARI LETTER GHA
  key <AD09> { [	0x1000926,	0x1000927 ] }; // DEVANAGARI LETTER DA; DEVANAGARI LETTER DHA
  key <AD10> { [	0x100091C,	0x100091D ] }; // DEVANAGARI LETTER JA; DEVANAGARI LETTER JHA
  key <AD11> { [	0x1000921,	0x1000922 ] }; // DEVANAGARI LETTER DDA; DEVANAGARI LETTER DDHA
  key <AD12> { [	0x100093C,	0x100091E ] }; // DEVANAGARI SIGN NUKTA; DEVANAGARI LETTER NYA

  key <BKSL> { [	0x1000949,	0x1000911 ] }; // DEVANAGARI VOWEL SIGN CANDRA O; DEVANAGARI LETTER CANDRA O

  key <AC01> { [	0x100094B,	0x1000913 ] }; // DEVANAGARI VOWEL SIGN O; DEVANAGARI LETTER O
  key <AC02> { [	0x1000947,	0x100090F ] }; // DEVANAGARI VOWEL SIGN E; DEVANAGARI LETTER E
  key <AC03> { [	0x100094D,	0x1000905 ] }; // DEVANAGARI SIGN VIRAMA; DEVANAGARI LETTER A
  key <AC04> { [	0x100093F,	0x1000907 ] }; // DEVANAGARI VOWEL SIGN I; DEVANAGARI LETTER I
  key <AC05> { [	0x1000941,	0x1000909 ] }; // DEVANAGARI VOWEL SIGN U; DEVANAGARI LETTER U
  key <AC06> { [	0x100092A,	0x100092B ] }; // DEVANAGARI LETTER PA; DEVANAGARI LETTER PHA
  key <AC07> { [	0x1000930,	0x1000931 ] }; // DEVANAGARI LETTER RA; DEVANAGARI LETTER RRA
  key <AC08> { [	0x1000915,	0x1000916 ] }; // DEVANAGARI LETTER KA; DEVANAGARI LETTER KHA
  key <AC09> { [	0x1000924,	0x1000925 ] }; // DEVANAGARI LETTER TA; DEVANAGARI LETTER THA
  key <AC10> { [	0x100091A,	0x100091B ] }; // DEVANAGARI LETTER CA; DEVANAGARI LETTER CHA
  key <AC11> { [	0x100091F,	0x1000920 ] }; // DEVANAGARI LETTER TTA; DEVANAGARI LETTER TTHA

  key <AB01> { [	0x1000946,	0x100090E ] }; // DEVANAGARI VOWEL SIGN SHORT E; DEVANAGARI LETTER SHORT E
  key <AB02> { [	0x1000902,	0x1000901 ] }; // DEVANAGARI SIGN ANUSVARA; DEVANAGARI SIGN CANDRABINDU
  key <AB03> { [	0x100092E,	0x1000923 ] }; // DEVANAGARI LETTER MA; DEVANAGARI LETTER NNA
  key <AB04> { [	0x1000928,	0x1000929 ] }; // DEVANAGARI LETTER NA; DEVANAGARI LETTER NNNA
  key <AB05> { [	0x1000935,	0x1000934 ] }; // DEVANAGARI LETTER VA; DEVANAGARI LETTER LLLA
  key <AB06> { [	0x1000932,	0x1000933 ] }; // DEVANAGARI LETTER LA; DEVANAGARI LETTER LLA
  key <AB07> { [	0x1000938,	0x1000936 ] }; // DEVANAGARI LETTER SA; DEVANAGARI LETTER SHA
  key <AB08> { [	comma,		0x1000937 ] }; // DEVANAGARI LETTER SSA
  key <AB09> { [	period,		0x1000964 ] }; // DEVANAGARI DANDA
  key <AB10> { [	0x100092F,	0x100095F ] }; // DEVANAGARI LETTER YA; DEVANAGARI LETTER YYA

  key <SPCE> { [	space,		space,   0x100200C,	0x100200D ] }; // ZERO-WIDTH-NON-JOINER (ZWNJ); ZERO-WIDTH-JOINER (ZWJ)
  // language key
  key <I219> {  [ISO_Next_Group  ,  ISO_Prev_Group      ]     };
};