On Saturday 23 August 2003 7:42, Frank Murphy wrote:
> On Saturday 23 August 2003 6:25, Michel Dänzer wrote:
> > > > BTW, where do you get the Multi_key definition from? Can't seem to
> > > > find it here.
> > >
> > > What do you mean? Where do I define it (in the apple file)?
> >
> > No, you don't. Maybe you get it from a pc symbols file?
>
> Arg. I'd had it in my .Xmodmap for a long time, but I had added it to
> apple. Just sent the wrong version. I've attached the change here.

I mean, I've attached it *here*.

Frank
//
// Keyboard modification for Apple keyboards
//
// $Xfree86: $

partial default modifier_keys
xkb_symbols "extended" {

// Keypad equal is buggy on XFree 4.3.
//    key <KPEQ> { [ KP_Equal ] }; 
    key  <INS> { [ Help ] };
// The keys next to F12, labeled F13, F14, & F15 generate codes that XFree86
// claims not to generate. I think they should be equivalent to the PC keys
// Print Screen / SysRq, Scroll Lock, and Pause, but there may be a kernel bug.
//    key <PRSC> { [ F13 ] }; // keycode 93
//    key <SCLK> { [ F14 ] }; // keycode 123
//    key <PAUS> { [ F15 ] }; // keycode 127

    // set the right logo key to Compose
    key <RWIN> { [ Multi_key ] };
};

partial modifier_keys
xkb_symbols "laptop" {

    include "apple(extended)"

    // The real numlock key on the iBook (shared with F5) illuminates the
    // Num_Lock led and locks the fn-key to type only the keypad keys on the
    // letter keys (U=4, I=5, O=6, P=*, etc.). This happens internally to the
    // keyboard. Instead the key generates Clear.
    override key <NMLK> { [ Clear ] };
    // The key labeled Delete sends BKSP. To get Delete, use Shift-Delete
    override key <BKSP> { [ BackSpace, Delete ] };
    // These keyboards only generate a <RALT> when pressing fn+Alt. This makes
    // it impossible to get to the third shift level on keys that are on
    // the fn-keypad, so use the Enter key (right of <SPC>) for Mode_switch,
    // and use fn+Enter (Apple's code for Menu) for KP_Enter.
    replace key <KPEN> { [ Mode_switch ] };
    // kernel bug with Menu on macs means this doesn't work yet
//    replace key <MENU> { [ KP_Enter ] }; // should be keycode 117
};

Reply via email to