Keyboards and key bindings

From OLPC
Revision as of 14:07, 23 November 2007 by Mokurai (talk | contribs) (→‎Layouts: How to switch)
Jump to navigation Jump to search
This article is a stub. You can help the OLPC project by expanding it.
Arabic keyboard layout
Close-up of an old prototype
Keyboard and touchpad (low-resolution image)

Hardware

The ALPS Electric KGDMFA001 provides both Touch Pad/Tablet and keyboard.

80+ keys, 1.0mm stroke; sealed rubber-membrane key-switch assembly. (from Hardware specification#Integrated_peripherals).

Specification: File:KGDMFA001-non-confidential.pdf (towards bottom).

Non-keyboard keyscodes

As of 15:22, 19 June 2007 (EDT) the handheld-mode keypads bind to

Right-hand side: up/down/left/right
Left-hand side: KP_PAGE_UP/KP_PAGE_DOWN/KP_END/KP_HOME

Layouts

We have a single keyboard model (the hardware; geometry and keycodes), but many keyboard layouts, switchable in software. The default layout for any country will match the printing on the keys. Both the model and the layouts are (or will be) listed in /usr/share/X11/xkb/rules/base.xml .

I believe we do not yet have an xkb geometry file. MitchellNCharity 00:49, 3 October 2007 (EDT)

Setting up to be able to switch keyboard layouts currently requires editing /etc/X11/xorg.conf, as described at Customizing NAND images#Keyboard. The keyboard switching key is the times-divide key in the Latin keytops, but with a different graphic in some other keyboard layouts.--Mokurai 09:07, 23 November 2007 (EST)

See also