Hi,

I have some keys on my notebook which don't deliver scancodes, a kernel
driver provides a device to access those keys.
I started writing a XInput keyboard driver, which reads this device and
sends key events using xf86PostKeyEvent.
As I tried xev on it, I saw no events showing up. I then found the tool
xinput and using it I finally got the events I wanted to see.
Digging through the sources I found out that XInput devices produce
different events which you must first select to receive them in your
application. I also found that with xf86PostButtonEvent and
xf86PostMotionEvent it is possible to generate core events instead.

I patched xf86Xinput.c to allow the sending of core events and it worked
perfectly, my events showed up like normal key presses.

Why is there no such possibility in xf86PostKeyEvent?

Olaf

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to