Talk:OLPC Nepali Keyboard: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Nepali Unicode traditional layout: updating comment relating to mapping of G and N)
Line 81: Line 81:
key <AB04> { [ 0x1000916, 0x1000950 ] }; // KHA, OM
key <AB04> { [ 0x1000916, 0x1000950 ] }; // KHA, OM
key <AB05> { [ 0x1000926, 0x100094C ] }; // DA, VOWEL SIGN AU
key <AB05> { [ 0x1000926, 0x100094C ] }; // DA, VOWEL SIGN AU
key <AB06> { [ 0x1000932 ] }; // LA; U0926+U094D+U0926
key <AB06> { [ 0x1000932 ] }; // LA; U0926+U094D+U092F
key <AB07> { [ 0x1000903 ] }; // SIGN VISARGA; U0921+U094D+U0921
key <AB07> { [ 0x1000903 ] }; // SIGN VISARGA; U0921+U094D+U0921
key <AB08> { [ 0x100093D, 0x1000919 ] }; // SIGN AVAGRHA; NGA
key <AB08> { [ 0x100093D, 0x1000919 ] }; // SIGN AVAGRHA; NGA

Revision as of 00:07, 29 January 2008

character sample

What is the equivalent of AB (the first two letters of the alphabet) in Nepalese? --Walter 23:18, 26 September 2007 (EDT)

It's कख Shankar 02:46, 27 September 2007 (EDT)
Thanks Shankar. I've used them on the "language key". I've finished my first pass--any feedback would be appreciated. --Walter 13:15, 27 September 2007 (EDT)
Purpose? If this is for something like a font sample, then you should instead use the characters which are most likely to vary in interesting ways. (for English, probably "ag") AlbertCahalan 13:11, 27 September 2007 (EDT)

Thanks Walter. In the png file that you have prepared, the fifth row (zxcvbnm -row) has some errors, could you check it once. We have some extra characters too, which we type in traditional systems using Caps Lock key. Any ideas, how can we incorporate those extra characters in this layout? -- Suyesh 08:32, 28 September 2007 (EDT)

I'll work on the z-? row. Regarding extra characters, how many are there? We could add them as shifts to the numbers row, for example. The way the keyboard input will be set up, you can switch back and forth between Nepalese and Latin characters en mass by using the "language" key (the AB/कख) or individually by using the Alt-Gr key (for example, when in Nepalese "mode", Alt-Gr ज would give you q; Alt-Gr १ would give you 1; Shift-Alt-Gr ज would give you Q). --Walter 09:49, 28 September 2007 (EDT)
I just posted a new version of the keyboard. Please let me know if I caught all of the changes. --Walter 10:00, 28 September 2007 (EDT)
As per above, I'd suggest we consider any of the keycap positions marked in red for adding characters (See
NE-MP-alt.png
). --Walter 11:35, 28 September 2007 (EDT)
Thank you again Walter. There are about 30 extra characters but we think that some of them are obsolete. We will talk to linguist here in Nepal to decide which of them are really required, and inform you soon.--Suyesh 12:38, 28 September 2007 (EDT)
Shankar, thanks for labeling the characters. Do you have any further word on whether or not the "extra" characters are desired or needed? -Walter 04:35, 27 October 2007 (EDT)
Comparing with the xkb file for Nepali, there a many differences. Is there a reason for these discrepancies? --Walter 05:41, 27 October 2007 (EDT)

Nepali Unicode traditional layout

It has been suggested that we use the Unicode layout instead of a variant of the standard X Windows layout. Comments?

Unicode layout ??? Where the suggestion came from? The layout OLPC_Nepal_Keyboard is a Unicode layout.Shankar 11:10, 12 December 2007 (EST)
Allegedly there is a "traditional Unicode layout" for Nepal. It seems to have a number of characters that are not single unicode codes, hence, I stalled out in trying to generate the code table below. --Walter 11:17, 12 December 2007 (EST)
The current suggestion is to use this layout (with SCIM): http://www.mpp.org.np/images/keyboard_traditional.jpg --Walter 15:19, 21 January 2008 (EST)

Nepali "Unicode" Keyboard Layout

Nepal-Unicode.png
partial alphanumeric_keys
xkb_symbols "olpc-unicode" {
// See http://www.mpp.org.np/images/keyboard_traditional.jpg
// Contact: Walter Bender <walter@laptop.org>

  include "np"
      key <TLDE> { [      0x100091E,  0x1000965 	]	}; // NYA; double danda
      key <AE01> { [      0x1000967	 		]	}; // Nepali digit one; U091C+U094D+U091E
      key <AE02> { [      0x1000968,  0x1000908		]	}; // Nepali digit two; 
      key <AE03> { [      0x1000969,  0x1000918 	]	}; // Nepali digit three;
      key <AE04> { [      0x100096A  	 		]	}; // Nepali digit four; U0926+U094D+U0927
      key <AE05> { [      0x100096B,  0x100091B  	]	}; // Nepali digit five
      key <AE06> { [      0x100096C,  0x100091F  	]	}; // Nepali digit six
      key <AE07> { [      0x100096D,  0x1000920  	]	}; // Nepali digit seven
      key <AE08> { [      0x100096e,  0x1000921  	]	}; // Nepali digit eight
      key <AE09> { [      0x100096F,  0x1000922	 	]	}; // Nepali digit nine
      key <AE10> { [      0x1000966,  0x1000923		]	}; // Nepali digit zero
      key <AE11> { [      0x1000913,  0x1000914         ]       }; // O, AU
      key <AE12> { [      0x100200C,  0x1000902 	]       }; // ZERO-WIDTH-NON-JOINER (ZWNJ); SIGN ANUSVARA

      key <AC12> { [      0x100094D,  0x100200D 	]	}; // SIGN VIRAMA; ZERO-WIDTH-JOINER (ZWJ)

      key <AD01> { [       	]	}; // U0924+U094D+U0930; U0924+U094D+U0924
      key <AD02> { [      0x1000927       	]	}; // DHA; U0921+U094D+U0922
      key <AD03> { [      0x100092D,  0x1000910 	]	}; // BHA, AI
      key <AD04> { [      0x100091A       	]	}; // CA; U0926+U094D+U0935
      key <AD05> { [      0x1000924		]	}; // TA; U091F+U094D+U091F
      key <AD06> { [      0x1000925             ]       }; // THA; U0920+U094D+U0920
      key <AD07> { [      0x1000917,  0x100090A 	]	}; // GA, UU
      key <AD08> { [      0x1000937       	]	}; // SSA; U0915+U094D+U0937
      key <AD09> { [      0x100092F,  0x1000907 	]	}; // YA, I
      key <AD11> { [      0x1000909,  0x100090F 	]	}; // U, E
      key <AD12> { [      ,  0x1000943 	]	}; // U0928+U094D+ZWJ; VOWEL SIGN VOCALIC R

      key <AC01> { [      0x100092C,  0x1000906         ]       }; // BA, AA
      key <AC02> { [      0x1000915		]	}; // KA; U0919+U094D+U0915
      key <AC03> { [      0x100092E         ]       }; // MA; U0919+U094D+U0917
      key <AC04> { [      0x1000901,  0x100093E		]       }; // CANDRABINDU, VOWEL SIGN AA
      key <AC05> { [      0x1000928       	]	}; // NA; U0926+U094D+U0926
      key <AC06> { [      0x100091C,  0x100091D       	]	}; // JA, JHA
      key <AC07> { [      0x1000935,  0x100094B       	]	}; // VA, VOWEL SIGN O
      key <AC08> { [      0x100092A,  0x100092B       	]	}; // PA, PHA
      key <AC09> { [      0x100093F,  0x1000940 	]	}; // VOWEL SIGN I, VOWEL SIGN II
      key <AC10> { [      0x1000938 	]	}; // SA; U091F+U094D+U0920
      key <AC11> { [      0x1000941,  0x1000942 	]	}; // VOWEL SIGN U, VOWEL SIGN UU

      key <AB01> { [      0x1000936		]	}; // SHA; U0915+U094D+U0915
      key <AB02> { [      0x1000939		]       }; // HA; U0939+U094D+U092F
      key <AB03> { [      0x1000905       	]	}; // A; U0909+U090B
      key <AB04> { [      0x1000916,  0x1000950 	]	}; // KHA, OM
      key <AB05> { [      0x1000926,  0x100094C		]	}; // DA, VOWEL SIGN AU
      key <AB06> { [      0x1000932		]	}; // LA; U0926+U094D+U092F
      key <AB07> { [      0x1000903 	]	}; // SIGN VISARGA; U0921+U094D+U0921
      key <AB08> { [      0x100093D,  0x1000919		]       }; // SIGN AVAGRHA; NGA
      key <AB09> { [      0x1000964		]       }; // DANDA; U0936+U094D+U0930
      key <AB10> { [      ,   0x1000930		]       }; // U0930+U0941; RA

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

};