summaryrefslogtreecommitdiff
path: root/keycodes
diff options
context:
space:
mode:
Diffstat (limited to 'keycodes')
-rw-r--r--keycodes/Makefile.am1
-rw-r--r--keycodes/olpc23
2 files changed, 24 insertions, 0 deletions
diff --git a/keycodes/Makefile.am b/keycodes/Makefile.am
index 9c5a3864..78a03557 100644
--- a/keycodes/Makefile.am
+++ b/keycodes/Makefile.am
@@ -12,6 +12,7 @@ fujitsu \
hp \
ibm \
macintosh \
+olpc \
sony \
sun \
xfree86 \
diff --git a/keycodes/olpc b/keycodes/olpc
new file mode 100644
index 00000000..0d7724b3
--- /dev/null
+++ b/keycodes/olpc
@@ -0,0 +1,23 @@
+
+// OLPC's mechanical keyboard moves several keys to the AA row. make
+// them easier to write symbol files naturally.
+
+// see http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard
+// and http://wiki.laptop.org/go/OLPC_Spanish_Non-membrane_Keyboard
+
+default
+xkb_keycodes "olpc" {
+
+ alias <AE00> = <TLDE>; // many OLPC keyboards don't put tilde there
+ alias <AC12> = <BKSL>; // on model olpc, physical position of BKSL
+
+};
+
+default
+xkb_keycodes "olpcm" {
+
+ alias <AA02> = <BKSL>; // on model olpcm, new physical position of BKSL
+ alias <AA06> = <AE12>; // on model olpcm, new physical position of =+
+ alias <AA07> = <AC11>; // on model olpcm, new physical position of '"
+
+};