On Mon, 2003-06-02 at 23:26, Frank Murphy wrote: > > The mac keyboards have a "keypad equals" key. X doesn't support that as > separate from regular equals, but I'd like to change it to type equals. The > problem is that both this KP-equals and the left-arrow key have the same > keysyms. If I try to modify one, I modift both. > > Here's the relevent xev output: > > KeyPress event, serial 27, synthetic NO, window 0x2000001, > root 0x48, subw 0x0, time 35558015, (180,101), root:(183,519), > state 0x0, keycode 100 (keysym 0xff51, Left), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 27, synthetic NO, window 0x2000001, > root 0x48, subw 0x0, time 35558135, (180,101), root:(183,519), > state 0x0, keycode 100 (keysym 0xff51, Left), same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 27, synthetic NO, window 0x2000001, > root 0x48, subw 0x0, time 35560194, (180,101), root:(183,519), > state 0x0, keycode 100 (keysym 0xff51, Left), same_screen YES, > XLookupString gives 0 characters: "" > > I am actually hitting different keys here, but it doesn't look like it. > > What is wierd is that this works fine in the console. The two keys are > recognized as different, and I type an = with both keys (on sid). > > Any idea where to start with this? How can I see the scancodes that X thinks > I > have? Other?
I'm afraid you might have to start digging into the XFree86 keyboard code. Good luck. :) If you need help, posting to devel@xfree86.org or asking Franz Sirl or Ivan Pascal directly might be good starting points. PS: Please don't post different messages about the same thing to several lists. -- Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer