Keyboard mapping

Jon Smirl jonsmirl at gmail.com
Sun May 22 15:25:03 PDT 2005


On 5/22/05, Owen Taylor <otaylor at redhat.com> wrote:
> Trying to adapt the current "nested" Xgl keyboard code that is designed
> to run on another server with a keymap already in place isn't the right
> approach for Xgl owning the keyboard, except possibly as
> a temporary stop-gap.

What's the simplest way to implement keyboard support in Xegl? I have
no experience implenting X drivers and there are no comments in the
Xgl code giving me a clue as to what I need to do.

I already have the video part hooked up and working. I just need to
get keyboard and mouse hooked up. If someone with the correct
knowledge could make a version of Xglx that gets its keyboard/mouse
support from the kernel instead of the nested Xserver I could then
copy that code into my Xegl server.

Right now I'm stuck at  InitKeyboardDeviceStruct () in
xeglKeybdProc(). InitKeyboardDeviceStruct() wants a keymap structure
passed in and I don't have one.

I have an extra mouse/keyboard on my system so I can use the evdev
interface on them without impacting the main X server. I also have an
extra video card with Xegl uses.

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list