Re: Remapping the N900 arrow keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux