OLPC Nigeria Keyboard: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (Reverted edits by 194.176.176.82 (Talk) to last version by Walter)
 
(32 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{OLPC}}
[[Image:Nigeria-keyboard.png|thumb|left]]


{{Keyboard layouts}}
{| border="1"

|Nigeria
==Nigerian keyboard==
|

|
[[Image:NIgeria-v4.png|800px|none|Nigerian keyboard]]
|

|
==OLPC section of the XKB symbol file==
|
To use the XKB ng (Nigerian) layout, you may need to edit <tt>/etc/X11/xorg.conf</tt>:
|

|
XkbLayout "ng"
|
XkbVariant "olpc"
|

|
<pre>
|----
partial alphanumeric_keys
|row
xkb_symbols "olpc" {
|key
name[Group1]= "Nigeria - OLPC West Africa";
|unmodified

|shift
include "us(basic)"
|alt gr
// OLPC Nigeria keyboard layout
|alt gr shift
// See: http://wiki.laptop.org/go/Image:Nigeria-B3.png
|ctrl
// combined support for Igbo, Hausa, and Yoruba
|ctrl shift
// Contact Walter Bender (walter@laptop.org)
|fn

|comment
key <TLDE> { [ grave, asciitilde dead_grave, dead_grave ] };
|
key <AE01> { [ 1, exclam exclamdown, exclamdown ] };
|----
key <AE02> { [ 2, at dead_acute, dead_acute ] };
|1 (top)
key <AE03> { [ 3, numbersign, dead_cedilla, dead_cedilla ] };
|131
key <AE04> { [ 4, dollar dead_tilde, dead_tilde ] };
|esc
key <AE05> { [ 5, percent, dead_caron, dead_caron ] };
|
key <AE06> { [ 6, asciicircum, dead_circumflex,dead_circumflex ] };
|
key <AE07> { [ 7, ampersand, dead_belowdot, dead_belowdot ] };
|
key <AE08> { [ 8, asterisk, dead_abovedot, dead_abovedot ] };
|
key <AE09> { [ 9, parenleft, dead_belowverticalline, dead_belowverticalline ] };
|
key <AE10> { [ 0, parenright, dead_diaeresis, dead_diaeresis ] };
|HK_01
key <AE11> { [ minus, underscore, dead_macron, dead_macron ] };
|esc
key <AE12> { [ equal, plus, guillemotleft, guillemotright ] };
|view src

|----
key <AD01> { [ q, Q, 0x1001EB9, 0x1001EB8 ] }; // E with dot below
|
key <AD02> { [ w, W, udiaeresis, Udiaeresis ] };
|130
key <AD03> { [ e, E, EuroSign, EuroSign ] };
|???
key <AD04> { [ r, R, 0x10020A6, 0x10020A6 ] }; // Naira Sign
|
key <AD05> { [ t, T, 0x1001EE5, 0x1001EE4 ] }; // U with dot below
|
key <AD06> { [ y, Y, 0x1001ECB, 0x1001ECA ] }; // I with dot below
|
key <AD11> { [ bracketleft, braceleft, 0x10001B4, 0x10001B3 ] }; // Y with hook
|
key <AD12> { [ bracketright, braceright, 0x10001E7, 0x10001E6 ] }; // G with caron
|

|HK_00
key <AC02> { [ s, S, sterling, sterling ] };
|camera
key <AC05> { [ g, G, 0x1000257, 0x100018A ] }; // D with hook
|microphone
key <AC06> { [ h, H, 0x1000253, 0x1000181 ] }; // B with hook
|----
key <AC07> { [ j, J, 0x1000199, 0x1000198 ] }; // K with hook
|
key <AC10> { [ semicolon, colon, 0x1000131, I ] }; // Dotless I
|112
key <AC11> { [apostrophe, quotedbl, 0x10001DD, 0x100018E ] }; // Reversed E
|F1
key <BKSL> { [ backslash, bar, scedilla, Scedilla ] };
|

|
key <AB01> { [ z, Z, 0x1000272, 0x100019D ] }; // N with left hook
|
key <AB02> { [ x, X, 0x1001ECD, 0x1001ECC ] }; // O with dot below
|
key <AB04> { [ v, V, 0x1001E63, 0x1001E62 ] }; // S with dot below
|
key <AB06> { [ n, N, 0x1001E45, 0x1001E44 ] }; // N with dot above
|
key <AB07> { [ m, M, ntilde, Ntilde ] };
|view mesh
key <AB09> { [ period, greater, ccedilla, Ccedilla ] };
|analog 1
key <AB10> { [ slash, question, questiondown, questiondown ] };
|----
key <I219> { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] };
|

|132
include "level3(ralt_switch)"
|
};
|

|
partial alphanumeric_keys
|
xkb_symbols "olpc2" {
|
include "us(olpc)"
|
key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] };
|HK_02
};
|
</pre>
|analog 2

|----
== Compose character additions ==
|
<pre>
|113
# Below verticalline combinations
|F2
<dead_belowverticalline> <B> : "B̩"
|
<dead_belowverticalline> <b> : "b̩"
|
<dead_belowverticalline> <D> : "D̩"
|
<dead_belowverticalline> <d> : "d̩"
|
<dead_belowverticalline> <H> : "H̩"
|
<dead_belowverticalline> <h> : "h̩"
|
<dead_belowverticalline> <K> : "K̩"
|view friends
<dead_belowverticalline> <k> : "k̩"
|analog 3
<dead_belowverticalline> <L> : "L̩"
|----
<dead_belowverticalline> <l> : "l̩"
|
<dead_belowverticalline> <M> : "M̩"
|137
<dead_belowverticalline> <m> : "m̩"
|
<dead_belowverticalline> <N> : "N̩"
|
<dead_belowverticalline> <n> : "n̩"
|
<dead_belowverticalline> <R> : "R̩"
|
<dead_belowverticalline> <r> : "r̩"
|
<dead_belowverticalline> <S> : "S̩"
|
<dead_belowverticalline> <s> : "s̩"
|HK_07
<dead_belowverticalline> <V> : "V̩"
|
<dead_belowverticalline> <v> : "v̩"
|analog 4
<dead_belowverticalline> <W> : "W̩"
|----
<dead_belowverticalline> <w> : "w̩"
|
<dead_belowverticalline> <Z> : "Z̩"
|114
<dead_belowverticalline> <z> : "z̩"
|F3

|
</pre>
|

|
[[Category:Keyboard]]
|
|
|
|view home
|analog 5
|----
|
|138
|
|
|
|
|
|
|HK_08
|
|analog 6
|----
|
|115
|F4
|
|
|
|
|
|
|view activity
|analog 7
|----
|
|120
|F5
|
|
|
|
|
|
|
|analog 8
|----
|
|139
|
|
|
|
|
|
|HK_09
|
|analog 9
|----
|
|121
|F6
|
|
|
|
|
|
|
|analog 10
|----
|
|140
|
|
|
|
|
|
|HK_10
|
|analog 11
|----
|
|122
|F7
|
|
|
|
|
|
|
|analog 12
|----
|
|141
|
|
|
|
|
|
|HK_11
|
|analog 13
|----
|
|123
|F8
|
|
|
|
|
|
|
|analog 14
|----
|
|116
|F9
|
|
|
|
|
|
|volume down
|analog 15
|----
|
|142
|
|
|
|
|
|
|HK_12
|
|analog 16
|----
|
|117
|F10
|
|
|
|
|
|
|
|analog 17
|----
|
|143
|
|
|
|
|
|
|HK_13
|
|analog 18
|----
|
|118
|F11
|
|
|
|
|
|
|
|analog 19
|----
|
|144
|
|
|
|
|
|
|HK_14
|
|analog 20
|----
|
|119
|F12
|
|
|
|
|
|
|volume up
|analog 21
|----
|
|135
|???
|
|
|
|
|
|HK_05
|chat/corkboard
|
|----
|
|136
|???
|
|
|
|
|
|HK_06
|frame
|
|----
|
|
|
|
|
|
|
|
|
|
|
|----
|2
|1
|`
|~
|
|
|
|
|
|
|
|----
|
|2
|1
|!
|
|
|
|
|F1
|
|
|----
|
|3
|2
|@
|
|
|
|C-@
|F2
|
|
|----
|
|4
|3
|#
|
|
|F3
|
|
|----
|
|5
|4
|₦
|$
|$
|
|
|F4
|U+20A6 (NAIRA)
|
|----
|
|6
|5
|%
|€
|€
|
|
|F5
|U+20AC (EURO)
|
|----
|
|7
|6
|^
|
|
|
|C-^
|F6
|
|
|----
|
|8
|7
|&amp;
|
|
|
|
|F7
|
|
|----
|
|9
|8
|*
|
|
|F8
|U+0324 (Combining Diaeresis below)
|
|----
|
|10
|9
|(
|
|
|F9
|U+0323 (Combining Dot Below)
|
|----
|
|11
|0
|)
|
|
|F10
|U+0331 (Combining Macron Below)
|
|----
|
|12
| -
|_
|
|C-_
|F11
|U+0327 (Combining Cedilla)
|
|----
|
|13
| =
| +
|
|
|F12
|U+0330 (Combining Tilde Below)
|
|----
|
|
|
|
|
|
|
|
|
|
|
|----
|3
|15
|backspace
|
|
|
|
|
|
|backspace/delete (U+007F)
|
|----
|
|16
|tab
|back tab
|
|
|C-tab
|C-tab
|
|
|
|----
|
|17
|q
|Q
|
|
|C-Q
|C-Q
|
|
|
|----
|
|18
|w
|W
|
|
|C-W
|C-W
|
|
|
|----
|
|19
|e
|E
|ẹ
|Ẹ
|C-E
|C-E
|
|U+1EB9
|U+1EB8
|----
|
|20
|r
|R
|C-R
|C-R
|
|U+01DD
|U+018E
|----
|
|21
|t
|T
|
|
|C-T
|C-T
|
|
|
|----
|
|22
|y
|Y
|C-Y
|C-Y
|
|U+01B4
|U+01B3
|----
|
|23
|u
|U
|ụ
|Ụ
|C-U
|C-U
|
|U+1EE5
|U+1EE4
|----
|
|24
|i
|I
|ị
|Ị
|C-I
|C-I
|
|U+1ECB
|U+1ECA
|----
|
|25
|o
|O
|ọ
|Ọ
|C-O
|C-O
|
|U+1ECD
|U+1ECC
|----
|
|26
|p
|P
|
|
|C-P
|C-P
|
|
|
|----
|
|27
|[
|{
|̀̀
|̀̀
|C-[
|C-[
|
|U+0300 (Combining Grave)
|
|----
|
|28
|]
| }
|C-]
|C-]
|
|U+02CA (Combining Acute)
|
|----
|
|
|
|
|
|
|
|
|
|
|
|----
|4
|58
|control
|
|
|
|
|
|
|
|
|----
|
|31
|a
|A
|
|
|C-A
|C-A
|
|
|
|----
|
|32
|s
|S
|ṣ
|Ṣ
|C-S
|C-S
|
|U+1E63
|U+1E62
|----
|
|33
|d
|D
|C-D
|C-D
|
|U+0257
|U+018A
|----
|
|34
|f
|F
|
|
|C-F
|C-F
|
|
|
|----
|
|35
|g
|G
|
|
|C-G
|C-G
|
|
|
|----
|
|36
|h
|H
|
|
|C-H
|C-H
|
|
|
|----
|
|37
|j
|J
|
|
|C-J
|C-J
|
|
|
|----
|
|38
|k
|K
|C-K
|C-K
|
|U+0199
|U+0198
|----
|
|39
|l
|L
|C-L
|C-L
|
|U+0254
|U+0186
|----
|
|40
|;
|:
|
|
|
|U+0303 (Combining Tilde)
|
|----
|
|41
|'
|“
| ̂
| ̂
|
|
|
|U+0302 (Combining Circumflex)
|
|----
|
|29
|\
|| |
| ̌
| ̌
|C-\
|C-\
|
|U+030C (Combining Caron)
|
|----
|
|43
|enter
|
|
|
|
|
|
|
|
|----
|
|
|
|
|
|
|
|
|
|
|
|----
|5
|44
|left shift
|
|
|
|
|
|
|
|
|----
|
|46
|z
|Z
|
|
|C-Z
|C-Z
|
|
|
|----
|
|47
|x
|X
|ḍ
|Ḍ
|C-X
|C-X
|
|U+1E0D
|U+1E0C
|----
|
|48
|c
|C
|
|
|C-C
|C-C
|
|
|
|----
|
|49
|v
|V
|
|
|C-V
|C-V
|
|
|
|----
|
|50
|b
|B
|C-B
|C-B
|
|U+0253
|U+0181
|----
|
|51
|n
|N
|ṅ
|Ṅ
|C-N
|C-N
|
|U+1E45
|U+1E44
|----
|
|52
|m
|M
|C-M
|C-M
|
|U+014B
|U+014A
|----
|
|53
|,
|&lt;
|
|
|
|U+0307 (Combining Dot Above)
|
|----
|
|54
|.
|&gt;
|
|
|
|U+0308 (Combining Diaeresis Above)
|
|----
|
|55
|/
|?
|
|
|
|U+0304 (Combining Macron Above)
|
|----
|
|57
|right shift
|
|
|
|
|
|insert
|
|
|----
|
|83
|up arrow
|
|
|
|
|
|page up
|
|
|----
|
|134
|
|
|
|
|HK_04
|
|
|----
|
|
|
|
|
|
|
|
|
|
|
|----
|6 (bottom)
|59
|fn
|
|
|
|
|
|
|
|
|----
|
|unassigned
|left grab
|
|
|
|
|
|
|
|
|----
|
|60
|alt
|
|
|
|
|
|
|
|
|----
|
|61
|space
|
|
|
|
|
|unassigned
|keyboard light
|
|----
|
|62
|alt gr
|
|
|
|
|
|
|
|
|----
|
|133
|right grab
|
|
|
|
|
|HK_03
|
|
|----
|
|79
|left arrow
|
|
|
|
|
|home
|
|
|----
|
|84
|down arrow
|
|
|
|
|
|page down
|
|
|----
|
|89
|right arrow
|
|
|
|
|
|end
|
|
|----
|}

Latest revision as of 05:54, 17 December 2008

  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



Nigerian keyboard

Nigerian keyboard

OLPC section of the XKB symbol file

To use the XKB ng (Nigerian) layout, you may need to edit /etc/X11/xorg.conf:

XkbLayout "ng"
XkbVariant "olpc"
partial alphanumeric_keys
xkb_symbols "olpc" {
   name[Group1]= "Nigeria - OLPC West Africa";

   include "us(basic)"
   // OLPC Nigeria keyboard layout
   // See: http://wiki.laptop.org/go/Image:Nigeria-B3.png
   // combined support for Igbo, Hausa, and Yoruba
   // Contact Walter Bender (walter@laptop.org)

    key <TLDE> {	[     grave,	asciitilde	dead_grave,	dead_grave	]	};
    key <AE01> {	[	  1,	exclam 		exclamdown,	exclamdown	]	};
    key <AE02> {	[	  2,	at		dead_acute,	dead_acute	]	};
    key <AE03> {	[	  3,	numbersign,	dead_cedilla,	dead_cedilla	]	};
    key <AE04> {	[	  4,	dollar		dead_tilde,	dead_tilde	]	};
    key <AE05> {	[	  5,	percent,	dead_caron,	dead_caron	]	};
    key <AE06> {	[	  6,	asciicircum,	dead_circumflex,dead_circumflex	]	};
    key <AE07> {	[	  7,	ampersand,	dead_belowdot,	dead_belowdot	]	};
    key <AE08> {	[	  8,	asterisk, 	dead_abovedot,	dead_abovedot	]	};
    key <AE09> {	[	  9,	parenleft,	dead_belowverticalline,	dead_belowverticalline	]	}; 
    key <AE10> {	[	  0,	parenright,	dead_diaeresis,	dead_diaeresis	]	};
    key <AE11> {	[     minus,	underscore,	dead_macron,	dead_macron	]	};
    key <AE12> {	[     equal,	plus,		guillemotleft,	guillemotright	]	};

    key <AD01> {	[	  q,	Q, 		0x1001EB9,	0x1001EB8	]	}; // E with dot below
    key <AD02> {	[	  w,	W,		udiaeresis,	Udiaeresis	]	};
    key <AD03> {	[	  e,	E,		EuroSign,	EuroSign	]	};
    key <AD04> {	[	  r,	R,		0x10020A6,	0x10020A6 	]	}; // Naira Sign
    key <AD05> {	[	  t,	T,		0x1001EE5,	0x1001EE4	]	}; // U with dot below
    key <AD06> {	[	  y,	Y,		0x1001ECB,	0x1001ECA	]	}; // I with dot below
    key <AD11> {	[ bracketleft,	braceleft,	0x10001B4,	0x10001B3	]	}; // Y with hook
    key <AD12> {	[ bracketright,	braceright,	0x10001E7,	0x10001E6	]	}; // G with caron

    key <AC02> {	[	  s,	S,		sterling,	sterling	]	};
    key <AC05> {	[	  g,	G,		0x1000257,	0x100018A	]	}; // D with hook
    key <AC06> {	[	  h,	H,		0x1000253,	0x1000181	]	}; // B with hook
    key <AC07> {	[	  j,	J,		0x1000199,	0x1000198	]	}; // K with hook
    key <AC10> {	[ semicolon,	colon,		0x1000131,	I		]	}; // Dotless I
    key <AC11> {	[apostrophe,	quotedbl,	0x10001DD,	0x100018E	]	}; // Reversed E
    key <BKSL> {	[ backslash,    bar,		scedilla,	Scedilla	]	};

    key <AB01> {	[	  z,	Z,		0x1000272,	0x100019D	]	}; // N with left hook
    key <AB02> {	[	  x,	X,		0x1001ECD,	0x1001ECC	]	}; // O with dot below
    key <AB04> {	[	  v,	V,		0x1001E63,	0x1001E62	]	}; // S with dot below
    key <AB06> {	[	  n,	N,		0x1001E45,	0x1001E44	]	}; // N with dot above
    key <AB07> {	[	  m,	M,		ntilde,		Ntilde		]	};
    key <AB09> {	[    period,	greater,	ccedilla,	Ccedilla	]	};
    key <AB10> {	[     slash,	question,	questiondown,	questiondown	]	};
    key <I219> {	[  multiply,	division,	ISO_Next_Group,	ISO_Prev_Group	]	};

   include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "olpc2" {
   include "us(olpc)"
   key <I219>  { [ ISO_Next_Group, ISO_Prev_Group ] };
};

Compose character additions

# Below verticalline combinations
<dead_belowverticalline> <B>        :   "B̩"
<dead_belowverticalline> <b>        :   "b̩"
<dead_belowverticalline> <D>        :   "D̩"
<dead_belowverticalline> <d>        :   "d̩"
<dead_belowverticalline> <H>        :   "H̩"
<dead_belowverticalline> <h>        :   "h̩"
<dead_belowverticalline> <K>        :   "K̩"
<dead_belowverticalline> <k>        :   "k̩"
<dead_belowverticalline> <L>        :   "L̩"
<dead_belowverticalline> <l>        :   "l̩"
<dead_belowverticalline> <M>        :   "M̩"
<dead_belowverticalline> <m>        :   "m̩"
<dead_belowverticalline> <N>        :   "N̩"
<dead_belowverticalline> <n>        :   "n̩"
<dead_belowverticalline> <R>        :   "R̩"
<dead_belowverticalline> <r>        :   "r̩"
<dead_belowverticalline> <S>        :   "S̩"
<dead_belowverticalline> <s>        :   "s̩"
<dead_belowverticalline> <V>        :   "V̩"
<dead_belowverticalline> <v>        :   "v̩"
<dead_belowverticalline> <W>        :   "W̩"
<dead_belowverticalline> <w>        :   "w̩"
<dead_belowverticalline> <Z>        :   "Z̩"
<dead_belowverticalline> <z>        :   "z̩"