[maemo-users] Remapping the N900 arrow keys

From: Alberto Garcia agarcia at igalia.com
Date: Thu Dec 17 14:21:26 EET 2009
On Thu, Dec 17, 2009 at 11:55:25AM +0100, Alberto Garcia wrote:

> I wonder how I can remap the arrow keys so that pressing them in
> combination with Fn produces the symbols that I'm missing.

Here's the answer:

/usr/share/X11/xkb/symbols/nokia_vndr/rx-51

xkb_symbols "arrows_4btns" {
    // standard arrows mapping
    // normal 2nd level must not be enumerated to allow text selection with Shift key
    key <UP>    { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Up,    dead_circumflex ] };
    key <LEFT>  { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Left,  dead_acute      ] };
    key <DOWN>  { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Down,  dead_tilde      ] };
    key <RGHT>  { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Right, dead_grave      ] };
};

Hope you find it useful!

Berto
More information about the maemo-users mailing list