I have an iBook with a US keyboard layout, and I'm having a wierd problem I 
hope you can help with.

The mac keyboards have a "keypad equals" key. X doesn't support that as 
separate from regular equals, but I'd like to use 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 modify 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 these keys generate different keysyms and characters on 
the console. I type an '=' with both keys (on Debian sid).

I had a suggestion to look in the XF86 keyboard code. Does anyone here have an 
idea of which files to start to look in? Will this be a C-code problem or a 
configuration issue somewhere? Or does anyone know how to see the scancodes 
that X thinks I have?

Here's the version info from the top of the XFree86.0.log:

XFree86 Version 4.3.0 (DRI mach64-0-0-6-branch)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-ben8-xfs-lolat ppc [ELF]

I'm using the Xserver packages that Michael D�zner provides. Do you need any 
other info?

Thanks for any help,

Frank


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to