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

Re: Altgr on iBook



On Sun, 2002-05-19 at 12:19, Philipp Schmidt wrote:
> > If someone would like to contribute a little writeup about this, I could 
> > add it to the install manual's post-install section. 
> 
> I succseeded to have AltGR mapped to KpEnter (I Never used that key...)
> on Console by writeing a new keymap, under X11 I had to user xmodmap
> instead of a writing a proper keymap because i found no documentation
> about this, if you gave me a hint, i make keymaps to natively support
> all Keycodes on the iBook for German. my keymaps are attached....

I did a similar thing using xkb for the British keyboard, file attached.
I use "xkbcomp -R/etc/X11/xkb /home/pecan/edmundd/etc/ibook_gb.xkb :0"
to activate it.

-- Edd
xkb_keymap "appleusbprogb" {
    xkb_keycodes    { include "xfree86"
    
    <FK13> = 93;
    <FK14> = 123;
    <FK15> = 127;
    <HELP> = 106;
    <TLDE> = 94;
    <SECT> = 49;
    
    };
    xkb_types       { include "default" };
    xkb_compatibility { include "default" };
    xkb_geometry    { include "macintosh(macintosh)" };

    xkb_symbols {

    include "macintosh/us(extended)"
    include "macintosh/gb(basic)"

    name[Group1]="Great Britain";

    key <AE02> {        [               2,        at      ],
                    [        EuroSign,        cent    ] };

    key <AE03> {    [               3,        sterling      ],
            [      numbersign           ]};
    key <KPEN> {        [      Mode_switch ] };
    
    key <I5E> {        [      Multi_key ]};

    key <SECT> {       [    section, plusminus ]};


    };
    };

Reply to: