From 690ea60dcb6793879489c17ab5d85afd272fa0f7 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 20 Apr 2013 12:02:25 -0400 Subject: add support for the OLPC mechanical non-membrane keyboard Patch updated against current tree. > From: Paul Fox > Date: Tue, 20 Jul 2010 16:22:40 -0400 > Subject: [PATCH] add support for the OLPC "mechanical" (non-membrane) keyboard > model(s). to aid in this, add keycodes/olpc with aliases to avoid needing to > use BKSL and TLDE, which don't appear anywhere near their "traditional" > position on the olpcm mechanical keyboards. --- keycodes/Makefile.am | 1 + keycodes/olpc | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 keycodes/olpc (limited to 'keycodes') diff --git a/keycodes/Makefile.am b/keycodes/Makefile.am index 9c5a386..78a0355 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 0000000..0d7724b --- /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 = ; // many OLPC keyboards don't put tilde there + alias = ; // on model olpc, physical position of BKSL + +}; + +default +xkb_keycodes "olpcm" { + + alias = ; // on model olpcm, new physical position of BKSL + alias = ; // on model olpcm, new physical position of =+ + alias = ; // on model olpcm, new physical position of '" + +}; -- cgit v1.2.1